Compare commits
1 Commits
3040fd5e46
...
056a228661
| Author | SHA1 | Date | |
|---|---|---|---|
| 056a228661 |
@@ -1,5 +1,5 @@
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
|
||||
|
||||
<channel>
|
||||
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} - {{ end }}{{ .Site.Title }}{{ end }}</title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
@@ -9,14 +9,14 @@
|
||||
<language>{{.}}</language>
|
||||
{{end}}
|
||||
|
||||
{{ with .Site.Author.email }}
|
||||
{{ with site.Params.author.email }}
|
||||
<managingEditor>
|
||||
{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}
|
||||
{{.}}{{ with $ site.Params.author.name }} ({{.}}){{end}}
|
||||
</managingEditor>
|
||||
{{end}}
|
||||
|
||||
{{ with .Site.Author.email }}
|
||||
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>
|
||||
{{ with site.Params.author.email }}
|
||||
<webMaster>{{.}}{{ with $ site.Params.author.name }} ({{.}}){{end}}</webMaster>
|
||||
{{end}}
|
||||
|
||||
{{ with .Site.Copyright }}
|
||||
@@ -39,7 +39,7 @@
|
||||
|
||||
<link>{{ .Permalink }}</link>
|
||||
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
||||
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
|
||||
{{ with site.Params.author.email }}<author>{{.}}{{ with $ site.Params.author.name }} ({{.}}){{end}}</author>{{end}}
|
||||
<guid>{{ .Permalink }}</guid>
|
||||
<description>
|
||||
{{ .Content | html }}
|
||||
@@ -48,4 +48,4 @@
|
||||
</item>
|
||||
{{- end }}
|
||||
</channel>
|
||||
</rss>
|
||||
</rss>
|
||||
|
||||
Reference in New Issue
Block a user