Update gemini general page format
This commit is contained in:
parent
0b26a6b51b
commit
a6c3079a16
|
@ -2,13 +2,10 @@
|
||||||
|
|
||||||
# {{ .Title }}
|
# {{ .Title }}
|
||||||
|
|
||||||
{{ $lastmod := .Lastmod -}}
|
{{ partial "processed-content.gmi" . }}
|
||||||
{{ if lt .Date $lastmod -}}
|
|
||||||
Last updated {{ .Lastmod.UTC.Format "2006-01-02" }}{{ end }}
|
|
||||||
--
|
|
||||||
|
|
||||||
{{ trim (readFile (replace $.File.Path ".md" ".gmi")) "\n" | safeHTML }}
|
|
||||||
|
|
||||||
--
|
--
|
||||||
|
{{ partial "lastmod.gmi" (dict "Page" . "Prefix" "Last updated on " "Postfix" "." ) }}
|
||||||
|
|
||||||
=> / Home
|
=> / Home
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in New Issue