~xdavidwu/xdavidwu.link

161585f6ad5d20f340870e5df435fbc3f7c6ed47 — Michael Rose 9 years ago 027176b
Only include email if author has an email address specified
1 files changed, 1 insertions(+), 1 deletions(-)

M feed.xml
M feed.xml => feed.xml +1 -1
@@ 32,7 32,7 @@ sitemap: false
  <author>
    <name>{{ author.name }}</name>
    <uri>{{ site.url }}</uri>
    <email>{{ author.email }}</email>
    {% if author.email %}<email>{{ author.email }}</email>{% endif %}
  </author>
  <content type="html">{{ post.content | xml_escape }}
  &lt;p&gt;&lt;a href=&quot;{{ site.url }}{{ post.url }}&quot;&gt;{{ post.title }}&lt;/a&gt; was originally published by {{ author.name }} at &lt;a href=&quot;{{ site.url }}&quot;&gt;{{ site.title }}&lt;/a&gt; on {{ post.date | date: "%B %d, %Y" }}.&lt;/p&gt;</content>