Use paige-titles.html in rss.xml
This commit is contained in:
@@ -10,20 +10,7 @@
|
|||||||
{{ if ge $limit 1 }}
|
{{ if ge $limit 1 }}
|
||||||
{{ $pages = $pages | first $limit }}
|
{{ $pages = $pages | first $limit }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ $title := "" }}
|
{{ $title := partial "paige-titles.html" . }}
|
||||||
{{ if or .Title .Site.Title }}
|
|
||||||
{{ if and .Title .Site.Title }}
|
|
||||||
{{ if eq .Title .Site.Title }}
|
|
||||||
{{ $title = .Title }}
|
|
||||||
{{ else }}
|
|
||||||
{{ $title = printf "%s · %s" .Title .Site.Title }}
|
|
||||||
{{ end }}
|
|
||||||
{{ else if .Title }}
|
|
||||||
{{ $title = .Title }}
|
|
||||||
{{ else }}
|
|
||||||
{{ $title = .Site.Title }}
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
|
{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
|
||||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
<channel>
|
<channel>
|
||||||
|
Reference in New Issue
Block a user