X-Git-Url: https://git.kengrimes.com/?p=kengrimes.com%2Ftheme.git;a=blobdiff_plain;f=layouts%2F_default%2Fsingle.html;h=2f9c4a24537d061aa5a7a62d938d22eeb1d9beca;hp=4b2d4c4ebf6e3fa4c9fa44e776a375492a9ddbf2;hb=6c61007c1278be9ac5fb0bb998a1b530d3c76a23;hpb=9c780480b76a525dd0e6cc709bdb150a4cc592cb diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 4b2d4c4..2f9c4a2 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,4 +1,5 @@ {{- define "main" -}} +{{ .Page.Lastmod }} {{- if (gt (len (findRE ")" "\n$1\n
" .Content | strings.TrimLeft "\n " | strings.TrimPrefix "
" | replaceRE "\n" "\n " | safeHTML }} {{- else -}} @@ -8,12 +9,12 @@ {{- end }}
- {{- if .Page.PrevInSection }} - Prev - {{- end }} - <{{ .Parent.Name }}> {{- if .Page.NextInSection }} - Next + Newer + {{- end }} + <{{ .Parent.Name }}> + {{- if .Page.PrevInSection }} + Older {{- end }}
{{- end -}}