morgan.mcmillian.dev/templates/page.html

21 lines
575 B
HTML
Raw Normal View History

2022-05-07 16:40:53 +00:00
{{ define "main" }}
<main>
<h1>{{ .Title }}</h1>
{{- if not .Date.IsZero }}
<small>{{ .Date.Format "2006-01-02" }} on
{{ if .Params.origin }} {{ .Params.origin }}
{{ else }} <a href="/">{{ site.Title }}</a>
{{ end }}
</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.dreamfall.space/thrrgilag/morgan.mcmillian.dev">Source code</a>
2022-05-07 16:40:53 +00:00
</small>
</footer>
{{ end }}