Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/de-souza/hugo-flex.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorde-souza <43355143+de-souza@users.noreply.github.com>2020-03-23 00:06:58 +0300
committerde-souza <43355143+de-souza@users.noreply.github.com>2020-03-23 00:06:58 +0300
commit7ca45b3893e3962164b822c7f9ca3b2d609fbc48 (patch)
treecb5201b34cf72a5484cabebd3f5eb953864aba57
parenta2bef69c8c27b8ff1d5daf5e0d9d037ff07dc648 (diff)
Revert RSS title change
-rw-r--r--layouts/_default/rss.xml2
1 files changed, 1 insertions, 1 deletions
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 `<?xml-stylesheet type="text/xsl" href=%q ?>` $base_xml.Permalink | safeHTML }}
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
- {{ partial "title.html" . }}
+ <title>{{ if eq .Title site.Title }}{{ site.Title }}{{ else }}{{ with .Title }}{{ . }} on {{ end }}{{ site.Title }}{{ end }}</title>
<link>{{ .Permalink }}</link>
<description>Recent content {{ if ne .Title site.Title }}{{ with .Title }}in {{ . }} {{ end }}{{ end }}on {{ site.Title }}</description>
<generator>Hugo -- gohugo.io</generator>{{ with site.LanguageCode }}