From 0321812a29e6ec32663556fa7abe2bf2880e5762 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sun, 29 Aug 2021 11:48:16 +0200 Subject: update to https://github.com/sunt-programator/CodeIT/releases/tag/v0.2.0 --- themes/CodeIT/layouts/partials/rss/item.html | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'themes/CodeIT/layouts/partials/rss') diff --git a/themes/CodeIT/layouts/partials/rss/item.html b/themes/CodeIT/layouts/partials/rss/item.html index 28256b4..64da953 100644 --- a/themes/CodeIT/layouts/partials/rss/item.html +++ b/themes/CodeIT/layouts/partials/rss/item.html @@ -1,4 +1,4 @@ -{{- $params := .Page.Params | merge .Site.Params.Page | merge (dict "author" .Site.Author.name) -}} +{{- $params := .Page.Params | merge .Site.Params.Page | merge (dict "author" .Site.Author.name "email" .Site.Author.email) -}} {{- .Page.Title -}} @@ -9,9 +9,16 @@ <pubDate> {{- .Page.Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" -}} </pubDate> - <author> - {{- .params.author | default (T "author") -}} - </author> + {{- with $params.email -}} + <author> + {{- $params.email -}} + </author> + {{- end -}} + {{- with $params.author -}} + <dc:creator> + {{- $params.author -}} + </dc:creator> + {{- end -}} <guid> {{- .Page.Permalink -}} </guid> -- cgit v1.2.3