diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 1b850dba..17d13dff 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -10,20 +10,7 @@ {{ if ge $limit 1 }} {{ $pages = $pages | first $limit }} {{ end }} -{{ $title := "" }} -{{ 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 }} +{{ $title := partial "paige-titles.html" . }} {{ printf "" | safeHTML }}