aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authorJulien Dessaux2021-03-12 12:41:42 +0100
committerJulien Dessaux2021-03-12 12:41:42 +0100
commitda9e4060c3c341a768d2f6d44975230926fbcd1b (patch)
tree73a266a48da5dbbf0f72c0f8ac2be26d12d026b4 /layouts/_default
parentSimplified tags menu generation (diff)
downloadwww-da9e4060c3c341a768d2f6d44975230926fbcd1b.tar.gz
www-da9e4060c3c341a768d2f6d44975230926fbcd1b.tar.bz2
www-da9e4060c3c341a768d2f6d44975230926fbcd1b.zip
Simplified rss feed handling by directing directly to the blog section
Diffstat (limited to '')
-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 36acade..3ba58d6 100644
--- a/layouts/_default/rss.xml
+++ b/layouts/_default/rss.xml
@@ -13,7 +13,7 @@
{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
- <title>{{ if or (eq .Title .Site.Title) (eq .Title "Home") }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
+ <title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ .Site.Title }} - {{ .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 }}