{{ define "main" }}
<main>
<h1>{{ .Title }}</h1>
{{- if not .Date.IsZero }}
<small>{{ .Date.Format "2006-01-02" }} on <a href="/">{{ site.Title }}</a></small>{{ end }}
{{ .Content | safeHTML }}
</main>
<footer>
<small>
This work is licensed under a <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC-BY-SA-4.0 license</a>.
<a href="https://git.sr.ht/~adnano/adnano.co">Source code</a>
<br>
Have a comment on one of my posts?
<a href="https://lists.sr.ht/~adnano/public-inbox">Send an email</a>
</small>
</footer>
{{ end }}