Add repository-links feature.

This commit is contained in:
Fredrik Jonsson 2025-01-13 16:47:13 +01:00
commit 4d295fa782

View file

@ -9,9 +9,9 @@
{{ .Content }}
{{ if $.Param "relatedposts" | default false }}{{ partial "relatedposts.html" . }}{{ end -}}
{{ if ne .Lastmod .Date }}{{ partial "dates.html" . }}{{ end -}}
{{ if site.Params.repository | default false }}{{ partial "repository-links.html" . }}{{ end -}}
{{ if $.Param "relatedposts" | default false }}{{ partial "relatedposts.html" . }}{{ end -}}
</article>
</main>
{{ end -}}