From 294e192b5069e3c18ad472dfe111330c4a2042bf0ec0441aabec31e1156ad631 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Sat, 30 Apr 2022 00:00:00 +0000 Subject: Remove extra dollar signs from atom feed template --- layouts/index.atom.xml | 4 ++-- 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 @@ {{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}{{ end }} {{ .Permalink }} - {{ $.Site.Author.name }} - {{ $.Site.Author.email }} + {{ .Site.Author.name }} + {{ .Site.Author.email }} Hugo -- gohugo.io{{ range first .Site.Config.Services.RSS.Limit .Site.RegularPages }} 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 @@ {{ if not .Date.IsZero }}{{ end }} - {{ $.Site.Author.name }} - {{ $.Site.Author.email }} + {{ .Site.Author.name }} + {{ .Site.Author.email }} 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 }} + {{ .Site.Copyright }} {{ .Site.Params.beginCopyrightYear }}-{{ now.Format "2006" }} {{ .Site.Author.name }} + {{ .Site.Params.Description }}{{ range first .Site.Config.Services.RSS.Limit .Site.RegularPages }} {{ replace .Permalink "https://" "gemini://" | safeURL }} {{ .Title }} -- cgit v1.2.3