{{- define "main" -}}
-<small>{{ .Page.Lastmod }}</small>
+<small>{{ .Page.Lastmod.Local }}</small>
{{- if (gt (len (findRE "<h1" .Content)) 0) }}
{{ replaceRE "(<h1.*</h1>)" "</article>\n$1\n<article>" .Content | strings.TrimLeft "\n " | strings.TrimPrefix "</article>" | replaceRE "\n" "\n " | safeHTML }}</article>
{{- else -}}
{{ .Content | replaceRE "\n" "\n " | safeHTML }}
</article>
{{- end }}
- <div align="center">
+ <div class="page-nav" align="center">
{{- if .Page.NextInSection }}
<a href="{{ .Page.NextInSection.URL }}">Newer</a>
{{- end }}