From 2ac67528156e58f77fcd665b366bc4e44060ebbd1eaf383a97c193b30c93e72a Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Sat, 30 Apr 2022 00:00:00 +0000 Subject: Clean up Atom feed templates --- layouts/index.atom.xml | 18 +++++++++--------- layouts/index.gemini_atom.xml | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/layouts/index.atom.xml b/layouts/index.atom.xml index b2ff567..2f89537 100644 --- a/layouts/index.atom.xml +++ b/layouts/index.atom.xml @@ -1,22 +1,22 @@ + {{ .Permalink }} {{ .Site.Title }} + {{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }} - {{ if not .Date.IsZero }} - {{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}{{ end }} - {{ .Permalink }} + {{ .Site.Author.name }} {{ .Site.Author.email }} - Hugo -- gohugo.io{{ range first .Site.Config.Services.RSS.Limit .Site.RegularPages }} + Hugo -- gohugo.io + {{ .Site.Copyright }} {{ .Site.Params.beginCopyrightYear }}-{{ now.Format "2006" }} {{ .Site.Author.name }} + {{ .Site.Params.Description }}{{ range first .Site.Config.Services.RSS.Limit .Site.RegularPages }} - {{ .Title }}> - {{ .Permalink }} + {{ .Title }}> {{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }} - {{- if .Content }} - <{{ .Content }} - {{- end }} + + {{ .Content }} {{ end }} diff --git a/layouts/index.gemini_atom.xml b/layouts/index.gemini_atom.xml index c52f632..3c04d35 100644 --- a/layouts/index.gemini_atom.xml +++ b/layouts/index.gemini_atom.xml @@ -4,7 +4,7 @@ {{ .Site.Title }} {{ .Date.Format "2006-01-02T15:04:05Z" | safeHTML }} - {{ if not .Date.IsZero }}{{ end }} + {{ .Site.Author.name }} {{ .Site.Author.email }} -- cgit v1.2.3