From d46158194cbdac5d4b262c0331398762531e32f5 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 12 May 2018 10:40:47 +0100 Subject: [PATCH] Add version to generator and add author to item --- layouts/_default/rss.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index dc7d2fe..1151f71 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -4,7 +4,7 @@ {{ .Title }} {{ .Permalink }} Recent content in {{ .Title }} - Hugo -- gohugo.io + Hugo {{ .Hugo.Version }} -- gohugo.io {{ .Site.LanguageCode }} {{ partial "copyright.html" . | html }} {{ .Site.Params.author }} @@ -19,6 +19,7 @@ {{ .Permalink }} {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} {{ .Permalink }} + {{ .Site.Params.author }} {{ .Date.Format .Site.Params.iso8601 }} {{ printf "" (replace .Content "\n" "") | safeHTML }}