summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2015-02-22 12:38:39 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2015-02-22 12:38:39 +0100
commit31b2294b1075ba7c4bd9d608c5a8eed0eef9b81d (patch)
treedd78003e12de336a9d3916c4b4e56dda73469139 /data
parent8f330a29401147d5ab761dfde721a68c0644d133 (diff)
parentac0fc618ff2e9f40b94e4be06efee45d08b0ba10 (diff)
downloadhakyll-31b2294b1075ba7c4bd9d608c5a8eed0eef9b81d.tar.gz
Merge pull request #332 from cpennington/author-name-rss
Add author name by default to RSS feeds
Diffstat (limited to 'data')
-rw-r--r--data/templates/rss-item.xml1
-rw-r--r--data/templates/rss.xml5
2 files changed, 4 insertions, 2 deletions
diff --git a/data/templates/rss-item.xml b/data/templates/rss-item.xml
index 70126ac..cc56490 100644
--- a/data/templates/rss-item.xml
+++ b/data/templates/rss-item.xml
@@ -4,4 +4,5 @@
<description><![CDATA[$description$]]></description>
<pubDate>$published$</pubDate>
<guid>$root$$url$</guid>
+ <dc:creator>$authorName$</dc:creator>
</item>
diff --git a/data/templates/rss.xml b/data/templates/rss.xml
index c6f3b08..c4fc3ae 100644
--- a/data/templates/rss.xml
+++ b/data/templates/rss.xml
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
+<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"
+ xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>$title$</title>
<link>$root$</link>
@@ -8,5 +9,5 @@
type="application/rss+xml" />
<lastBuildDate>$updated$</lastBuildDate>
$body$
- </channel>
+ </channel>
</rss>