From 8d43e657508610e9f96a483c86d39087b98062b6 Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Sat, 23 Jan 2021 12:48:06 -0800 Subject: [PATCH] RSS: add tag See the spec: https://validator.w3.org/feed/docs/rss2.html#ltttlgtSubelementOfLtchannelgt It should be essentially equivalent to the already-used `cache-control` header. --- layouts/_default/rss.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 9a2eeb0..9d89ee4 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -16,6 +16,7 @@ {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} {{ .Permalink }} Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }} + 1440 Hugo -- gohugo.io{{ with .Site.LanguageCode }} {{.}}{{end}}{{ with .Site.Author.email }} {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Author.email }}