Displaying update time on single posts

This commit is contained in:
Eamon Caddigan 2023-07-20 19:43:46 -07:00
parent 8678494542
commit 37c9ef6b0d
2 changed files with 8 additions and 2 deletions

View file

@ -1,9 +1,9 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ range .Pages.ByPublishDate.Reverse }}
{{ range .Pages.ByLastmod.Reverse }}
<p>
<h3><a class="title" href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
{{ partial "metadata.html" . }}
</p>
{{ end }}
{{ end }}
{{ end }}