diff --git a/README.md b/README.md index 795e08df..15d6807f 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 = "" -web_master = "" +managing_editor_email = "" +web_master_email = "" [paige.git] commit_url = "" # Example is "https://github.com/willfaught/paige/commit/%s" diff --git a/exampleSite/hugo.toml b/exampleSite/hugo.toml index e076f1ed..81c1ea8b 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 = "Will Faught" -web_master = "Will Faught" +managing_editor_email = "will.faught@example.com" +web_master_email = "will.faught@example.com" [taxonomies] author = "authors" diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 510842cd..fefd7c44 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -28,13 +28,13 @@ {{ $page.PublishDate.Format "Mon, 02 Jan 2006 15:04:05 -0700" }} {{ end }} {{ $page.Permalink }} - {{ with $page.Param "paige.feed.rss.managing_editor" }} + {{ with $page.Param "paige.feed.rss.managing_editor_email" }} {{ . }} {{ end }} {{ with $title }} {{ . }} {{ end }} - {{ with $page.Param "paige.feed.rss.web_master" }} + {{ with $page.Param "paige.feed.rss.web_master_email" }} {{ . }} {{ end }} {{ range $pages }}