summaryrefslogtreecommitdiff
path: root/_site_build/feed
diff options
context:
space:
mode:
authordavidtsadler <davidtsadler@googlemail.com>2012-01-22 19:03:34 +0000
committerdavidtsadler <davidtsadler@googlemail.com>2012-01-22 19:03:34 +0000
commit1dcb61ea904e901548deba046016661e23a1f12f (patch)
tree1b7eab9cbe1ff67c7b5ae5a7be1b74b204a5fd11 /_site_build/feed
parentb659c3bb211bc6f237f5ea5ad8da2b85c6c8fa90 (diff)
Creator element used in feed if site is not showing emails.
Diffstat (limited to '_site_build/feed')
-rw-r--r--_site_build/feed/index.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/_site_build/feed/index.html b/_site_build/feed/index.html
index 2dcbc06..8c0cae7 100644
--- a/_site_build/feed/index.html
+++ b/_site_build/feed/index.html
@@ -2,7 +2,7 @@
layout: nil
---
<?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>{{ site.title }}</title>
<link>{{ site.url }}</link>
@@ -12,6 +12,8 @@ layout: nil
{% if site.email %}
<managingEditor>{{ site.email }} ({{ site.author }})</managingEditor>
<webMaster>{{ site.email }} ({{ site.author }})</webMaster>
+ {% else %}
+ <dc:creator>{{ site.author }}</dc:creator>
{% endif %}
<pubDate>{{ site.time | date: "%a, %d %b %Y %H:%M:%S %z"}}</pubDate>
<lastBuildDate>{{ site.time | date: "%a, %d %b %Y %H:%M:%S %z" }}</lastBuildDate>
@@ -24,6 +26,8 @@ layout: nil
<pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
{% if site.email %}
<author>{{ site.email }} ({{ site.author }})</author>
+ {% else %}
+ <dc:creator>{{ site.author }}</dc:creator>
{% endif %}
<description>{{ post.content | text_excerpt | xml_escape }}</description>
{% for category in post.categories %}