Add optional related see also sections to posts.

This commit is contained in:
Fredrik Jonsson 2021-01-04 09:13:03 +01:00
commit 07cdce1c9d

View file

@ -9,6 +9,8 @@
<div class="content">
{{ .Content }}
{{ if $.Param "related" | default false }}{{ partial "related.html" . }}{{ end -}}
{{ if ne .Lastmod .Date }}{{ partial "dates.html" . }}{{ end -}}
</div>
</article>