summaryrefslogtreecommitdiff
path: root/themes/CodeIT/layouts/partials/rss
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2021-08-29 11:48:16 +0200
committerChristoph Cullmann <cullmann@kde.org>2021-08-29 11:48:16 +0200
commit0321812a29e6ec32663556fa7abe2bf2880e5762 (patch)
treeabe0294bd63c046d2b5a164d987d67a64db2c2f6 /themes/CodeIT/layouts/partials/rss
parentf2375511935010a1aeee5683c30b3efb928bef2e (diff)
update to https://github.com/sunt-programator/CodeIT/releases/tag/v0.2.0
Diffstat (limited to 'themes/CodeIT/layouts/partials/rss')
-rw-r--r--themes/CodeIT/layouts/partials/rss/item.html15
1 files changed, 11 insertions, 4 deletions
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) -}}
<item>
<title>
{{- .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>