From da9e4060c3c341a768d2f6d44975230926fbcd1b Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Fri, 12 Mar 2021 12:41:42 +0100 Subject: Simplified rss feed handling by directing directly to the blog section --- layouts/_default/rss.xml | 2 +- layouts/partials/nav.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'layouts') 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 "" | safeHTML }} - {{ if or (eq .Title .Site.Title) (eq .Title "Home") }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} + {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ .Site.Title }} - {{ .Title }}{{ end }} {{ .Permalink }} Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }} Hugo -- gohugo.io{{ with .Site.LanguageCode }} diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index bf65d09..b6c4db5 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -2,7 +2,7 @@