diff --git a/layouts/index.rss.xml b/layouts/index.rss.xml index 8d4eef05..515f1884 100644 --- a/layouts/index.rss.xml +++ b/layouts/index.rss.xml @@ -33,7 +33,9 @@ {{- .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" -}} {{- end -}} - + {{ with .OutputFormats.Get "RSS" }} + {{ printf "" .Permalink .MediaType | safeHTML }} + {{ end }} {{- range where .Site.RegularPages "Type" "posts" | first (.Site.Params.home.rss | default 10) -}} {{- dict "page" . "site" .Site | partial "rss/item.html" -}} {{- end -}}