Add related pages to project pages

This commit is contained in:
Joshua Goins 2022-10-26 09:28:33 -04:00
parent 487fcbfadf
commit 3432a8988c

View file

@ -30,4 +30,15 @@
</table>
{{ .Content }}
{{ $related := .Site.RegularPages.Related . | first 5 }}
{{ with $related }}
<h3>See Also</h3>
<ul>
{{ range . }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>
{{ end }}
{{ end }}