diff --git a/templates.go b/templates.go index de147ab..ff548d5 100644 --- a/templates.go +++ b/templates.go @@ -87,8 +87,7 @@ const index_gmi = `# {{ .Title }} // Default page template const page_gmi = `# {{ .Title }} {{- if not .Date.IsZero }} -Posted on {{ .Date.Format "2006-01-02" }} -{{- if site.Title }} on {{ site.Title }}{{ end }}{{ end }} +Posted on {{ .Date.Format "2006-01-02" }}{{ end }} {{ .Content }}` diff --git a/templates/page.gmi b/templates/page.gmi index bd4662e..c9de13a 100644 --- a/templates/page.gmi +++ b/templates/page.gmi @@ -1,6 +1,5 @@ # {{ .Title }} {{- if not .Date.IsZero }} -Posted on {{ .Date.Format "2006-01-02" }} -{{- if site.Title }} on {{ site.Title }}{{ end }}{{ end }} +Posted on {{ .Date.Format "2006-01-02" }}{{ end }} {{ .Content }}