diff --git a/layouts/index.gmi b/layouts/index.gmi index 038166c..e1309e8 100644 --- a/layouts/index.gmi +++ b/layouts/index.gmi @@ -3,7 +3,7 @@ ## Gemlog posts {{ range (where .Site.RegularPages "Section" "posts") }} {{- if .OutputFormats.Get "gemtext" }} -=> {{replace .Permalink "/gemini" "" 1}} {{.Date.Format "January 2, 2006"}}: {{.Title | safeHTML}}{{ end }}{{ end }} +=> {{replace .Permalink "/gemini" "" 1}} {{ .Date.Format "2006-01-02" }}: {{.Title | safeHTML}}{{ end }}{{ end }} => posts/index.xml RSS feed diff --git a/layouts/posts/single.gmi b/layouts/posts/single.gmi index 4b6db88..4fa898b 100644 --- a/layouts/posts/single.gmi +++ b/layouts/posts/single.gmi @@ -1,5 +1,5 @@ # {{$.Title | safeHTML}} -{{.Date.Format "January 2, 2006"}} +{{ .Date.Format "2006-01-02" }} {{ trim (readFile (replace $.File.Path ".md" ".gmi")) "\n" | safeHTML }}