From e5fd28dcb55504fd350e353e5ca5c48994caea4c Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Fri, 7 Jan 2022 22:09:16 +0000 Subject: [PATCH] fix site.author and site.email --- config.toml | 5 ++++- layouts/podcast/rss.xml | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/config.toml b/config.toml index aa1b0c4..b391eda 100644 --- a/config.toml +++ b/config.toml @@ -2,7 +2,10 @@ baseURL = "https://gmgauthier.com/" languageCode = "en-us" title = "Greg Gauthier" -author = "Greg Gauthier" + +[author] +name = "Greg Gauthier" +email = "gmgauthier@protonmail.com" copyright = "Copyright 2022. All rights reserved." canonifyurls = true diff --git a/layouts/podcast/rss.xml b/layouts/podcast/rss.xml index 2916f9b..8903212 100644 --- a/layouts/podcast/rss.xml +++ b/layouts/podcast/rss.xml @@ -40,6 +40,7 @@ {{ with .Site.LanguageCode }}{{.}}{{end}} {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} + {{ with .Site.Author.email }}{{.}}{{with $.Site.Author.name }} ({{.}}){{end}}{{end}} {{ with .Site.Copyright }}{{.}}{{end}} {{ if not .Date.IsZero }}{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }} {{- with .OutputFormats.Get "RSS" -}}