Add RSS site params

master
Will Faught 3 years ago
parent dd90671400
commit ac1f29608f

@ -231,6 +231,9 @@ paige:
date_format: "2006 January 2" # Hugo date format for page dates
hide_theme_comment: true # Don't put a link to this project in a code comment
hide_theme_link: true # Don't put a link to this project in the footer
rss:
managing_editor: "Michael Bluth"
web_master: "Michael Bluth"
```
If you set either `hide_theme_comment` or `hide_theme_link`, please credit this project in a post to help others find it.

@ -31,13 +31,13 @@
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>
{{ end }}
<link>{{ .Permalink }}</link>
{{ with .Site.Author.email }}
{{ with .Site.Params.paige.rss.managing_editor }}
<managingEditor>{{ . }}</managingEditor>
{{ end }}
{{ with $title }}
<title>{{ . }}</title>
{{ end }}
{{ with .Site.Author.email }}
{{ with .Site.Params.paige.rss.web_master }}
<webMaster>{{ . }}</webMaster>
{{ end }}
{{ range $pages }}

Loading…
Cancel
Save