commit b71095f79efa7c98559bac2440c350142d462182
parent 5114a2eb47229dba9bb79e49ab62f27ea2bd3065
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Tue, 14 Apr 2020 07:13:43 -0500
Add section to feed title
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml
@@ -1,5 +1,5 @@
<feed xmlns="http://www.w3.org/2005/Atom">
- <title>{{ .Site.Title }}</title>
+ <title>{{ if not .IsHome }}{{ .Title }} | {{ end }}{{ .Site.Title }}</title>
<link href="{{ .Permalink }}"/>
<link href="{{ .Permalink }}index.xml" rel="self"/>
<updated>{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" }}</updated>