diff options
| author | Nicholas Johnson <nick@nicksphere.ch> | 2022-04-30 00:00:00 +0000 | 
|---|---|---|
| committer | Nicholas Johnson <nick@nicksphere.ch> | 2022-04-30 00:00:00 +0000 | 
| commit | 294e192b5069e3c18ad472dfe111330c4a2042bf0ec0441aabec31e1156ad631 (patch) | |
| tree | a3e9924a8de9b8bda76f9e3bdb46093c6ac684a09619c66edd302073c307aadb | |
| parent | 972c0384e69b42e1fb2c87f1c221e12fab94830b60371c9d13ebebf1a341e4cd (diff) | |
| download | hugo-theme-journal-294e192b5069e3c18ad472dfe111330c4a2042bf0ec0441aabec31e1156ad631.tar.gz hugo-theme-journal-294e192b5069e3c18ad472dfe111330c4a2042bf0ec0441aabec31e1156ad631.zip | |
Remove extra dollar signs from atom feed template
| -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> | 
