Update gemini general page format

This commit is contained in:
hedy 2024-04-15 21:40:26 +08:00
parent 0b26a6b51b
commit a6c3079a16
Signed by: hedy
GPG Key ID: B51B5A8D1B176372
1 changed files with 3 additions and 6 deletions

View File

@ -2,13 +2,10 @@
# {{ .Title }}
{{ $lastmod := .Lastmod -}}
{{ if lt .Date $lastmod -}}
Last updated {{ .Lastmod.UTC.Format "2006-01-02" }}{{ end }}
--
{{ trim (readFile (replace $.File.Path ".md" ".gmi")) "\n" | safeHTML }}
{{ partial "processed-content.gmi" . }}
--
{{ partial "lastmod.gmi" (dict "Page" . "Prefix" "Last updated on " "Postfix" "." ) }}
=> / Home
{{- end }}