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-02-18 01:04:20 +01:00

10 lines
330 B
HTML

{{ define "main" }}
<main class="single maxw">
<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 }}
</main>