From 7ca45b3893e3962164b822c7f9ca3b2d609fbc48 Mon Sep 17 00:00:00 2001 From: de-souza <43355143+de-souza@users.noreply.github.com> Date: Sun, 22 Mar 2020 22:06:58 +0100 Subject: Revert RSS title change --- layouts/_default/rss.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index abd0bda..ea9e46a 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -8,7 +8,7 @@ {{ printf `` $base_xml.Permalink | safeHTML }} - {{ partial "title.html" . }} + {{ if eq .Title site.Title }}{{ site.Title }}{{ else }}{{ with .Title }}{{ . }} on {{ end }}{{ site.Title }}{{ end }} {{ .Permalink }} Recent content {{ if ne .Title site.Title }}{{ with .Title }}in {{ . }} {{ end }}{{ end }}on {{ site.Title }} Hugo -- gohugo.io{{ with site.LanguageCode }} -- cgit v1.2.3