1
0
Fork 0
mirror of https://git.sr.ht/~ashkeel/strimertul-website synced 2024-10-31 21:33:09 +00:00
strimertul-website/themes/strimertul/layouts/_default/single.html
2023-01-31 13:54:34 +01:00

8 lines
281 B
HTML

{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ with .Date }}
<section class="meta">
Published on {{.Date | time.Format "2006-01-02" }} {{ if (gt .Lastmod .Date)
}}| Last modified on {{.Lastmod | time.Format "2006-01-02" }} {{ end }}
</section>
{{ end }} {{ .Content }} {{ end }}