diff options
Diffstat (limited to 'layouts/posts/rss.xml')
-rw-r--r-- | layouts/posts/rss.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/posts/rss.xml b/layouts/posts/rss.xml index 49aba41..7d148d1 100644 --- a/layouts/posts/rss.xml +++ b/layouts/posts/rss.xml @@ -1,13 +1,13 @@ <rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"> <channel> <title> - {{- T .Section | default .Section | printf (T "allSome") }} | {{ .Site.Title -}} + {{- .Title | default (T .Section) | default .Section | printf (T "allSome") }} | {{ .Site.Title -}} </title> <link> {{- .Permalink -}} </link> <description> - {{- T .Section | default .Section | printf (T "allSome") }} | {{ .Site.Title -}} + {{- .Title | default (T .Section) | default .Section | printf (T "allSome") }} | {{ .Site.Title -}} </description> <generator>Hugo -- gohugo.io</generator> {{- with .Site.LanguageCode -}} |