Created
August 3, 2023 22:07
-
-
Save jmooring/5682615b2bb5292ba0b28483d618f442 to your computer and use it in GitHub Desktop.
Hugo - Display related content
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ with site.RegularPages.Related . }} | |
<p>Related content:</p> | |
<ul> | |
{{ range . }} | |
<li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li> | |
{{ end }} | |
</ul> | |
{{ end }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment