diff options
author | Julien Dessaux | 2021-03-12 12:41:42 +0100 |
---|---|---|
committer | Julien Dessaux | 2021-03-12 12:41:42 +0100 |
commit | da9e4060c3c341a768d2f6d44975230926fbcd1b (patch) | |
tree | 73a266a48da5dbbf0f72c0f8ac2be26d12d026b4 /layouts/_default | |
parent | Simplified tags menu generation (diff) | |
download | www-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.xml | 2 |
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 }} |