From 43fac7337aa4357cdd7a3fa5d9d891fe0e36368a Mon Sep 17 00:00:00 2001 From: Will Faught Date: Fri, 22 Sep 2023 22:56:19 -0700 Subject: [PATCH] Remove email suffix from RSS config --- README.md | 4 ++-- exampleSite/hugo.toml | 4 ++-- layouts/_default/rss.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 15d6807f..e51cf18a 100644 --- a/README.md +++ b/README.md @@ -277,8 +277,8 @@ link_to_page = false # Link to the page instead of the front matter link, if pre page_link = "⏎" # If a front matter link is present, and link_to_page is false, link to the page with this text [paige.feed.rss] -managing_editor_email = "" -web_master_email = "" +managing_editor = "" # Example is "Will Faught " +web_master = "" # Example is "Will Faught " [paige.git] commit_url = "" # Example is "https://github.com/willfaught/paige/commit/%s" diff --git a/exampleSite/hugo.toml b/exampleSite/hugo.toml index 81c1ea8b..8b76ec51 100644 --- a/exampleSite/hugo.toml +++ b/exampleSite/hugo.toml @@ -104,8 +104,8 @@ name = "Will Faught" url = "https://willfaught.com/paige" [params.paige.feed.rss] -managing_editor_email = "will.faught@example.com" -web_master_email = "will.faught@example.com" +managing_editor_email = "Will Faught " +web_master_email = "Will Faught " [taxonomies] author = "authors" diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 9953f9ec..7c41d1fb 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -29,13 +29,13 @@ {{ $page.PublishDate.Format "Mon, 02 Jan 2006 15:04:05 -0700" }} {{ end }} {{ $page.Permalink }} - {{ with $page.Param "paige.feed.rss.managing_editor_email" }} + {{ with $page.Param "paige.feed.rss.managing_editor" }} {{ . }} {{ end }} {{ with $title }} {{ . }} {{ end }} - {{ with $page.Param "paige.feed.rss.web_master_email" }} + {{ with $page.Param "paige.feed.rss.web_master" }} {{ . }} {{ end }} {{ range $pages }}