Update related.md

This commit is contained in:
Joe Mooring 2024-12-19 16:46:43 -08:00 committed by GitHub
parent 7234e0189c
commit 97b4ef5442
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,12 +21,12 @@ To list up to 5 related pages (which share the same _date_ or _keyword_ paramete
{{< code file=layouts/partials/related.html >}} {{< code file=layouts/partials/related.html >}}
{{ $related := .Site.RegularPages.Related . | first 5 }} {{ $related := .Site.RegularPages.Related . | first 5 }}
{{ with $related }} {{ with $related }}
<h3>See Also</h3> <h3>See Also</h3>
<ul> <ul>
{{ range . }} {{ range . }}
<li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li> <li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
{{ end }} {{ end }}
</ul> </ul>
{{ end }} {{ end }}
{{< /code >}} {{< /code >}}