diff options
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/index.atom.xml | 4 | ||||
-rw-r--r-- | layouts/index.gemini_atom.xml | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/layouts/index.atom.xml b/layouts/index.atom.xml index b78d178..adf2431 100644 --- a/layouts/index.atom.xml +++ b/layouts/index.atom.xml @@ -6,8 +6,8 @@ <updated>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated>{{ end }} <id>{{ .Permalink }}</id> <author> - <name>{{ $.Site.Author.name }}</name> - <email>{{ $.Site.Author.email }}</email> + <name>{{ .Site.Author.name }}</name> + <email>{{ .Site.Author.email }}</email> </author> <generator>Hugo -- gohugo.io</generator>{{ range first .Site.Config.Services.RSS.Limit .Site.RegularPages }} <entry> diff --git a/layouts/index.gemini_atom.xml b/layouts/index.gemini_atom.xml index 769004b..0dee4ea 100644 --- a/layouts/index.gemini_atom.xml +++ b/layouts/index.gemini_atom.xml @@ -6,12 +6,12 @@ <link href="{{ replace .Permalink "https://" "gemini://" | safeURL }}atom.xml" rel="self" /> <link href="{{ replace .Permalink "https://" "gemini://" | safeURL }}" rel="alternate" />{{ if not .Date.IsZero }}{{ end }} <author> - <name>{{ $.Site.Author.name }}</name> - <email>{{ $.Site.Author.email }}</email> + <name>{{ .Site.Author.name }}</name> + <email>{{ .Site.Author.email }}</email> </author> <generator>Hugo -- gohugo.io</generator> - <rights type="html">{{ $.Site.Copyright }} {{ .Site.Params.beginCopyrightYear }}-{{ now.Format "2006" }} {{ $.Site.Author.name }}</rights> - <subtitle>{{ $.Site.Params.Description }}</subtitle>{{ range first .Site.Config.Services.RSS.Limit .Site.RegularPages }} + <rights type="html">{{ .Site.Copyright }} {{ .Site.Params.beginCopyrightYear }}-{{ now.Format "2006" }} {{ .Site.Author.name }}</rights> + <subtitle>{{ .Site.Params.Description }}</subtitle>{{ range first .Site.Config.Services.RSS.Limit .Site.RegularPages }} <entry> <id>{{ replace .Permalink "https://" "gemini://" | safeURL }}</id> <title>{{ .Title }}</title> |