incorporate related posts to site

This commit is contained in:
Peter 2025-03-17 20:26:21 -04:00
parent a586833f65
commit c7102e0628
3 changed files with 73 additions and 0 deletions

View file

@ -0,0 +1,8 @@
{{ with site.RegularPages.Related . | first 5 }}
<p>Related content:</p>
<ul>
{{ range . }}
<li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
{{ end }}
</ul>
{{ end }}