From 161585f6ad5d20f340870e5df435fbc3f7c6ed47 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Fri, 8 Aug 2014 20:37:57 -0400 Subject: [PATCH] Only include email if author has an email address specified --- feed.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feed.xml b/feed.xml index 467c71ad..57a326a8 100644 --- a/feed.xml +++ b/feed.xml @@ -32,7 +32,7 @@ sitemap: false {{ author.name }} {{ site.url }} - {{ author.email }} + {% if author.email %}{{ author.email }}{% endif %} {{ post.content | xml_escape }} <p><a href="{{ site.url }}{{ post.url }}">{{ post.title }}</a> was originally published by {{ author.name }} at <a href="{{ site.url }}">{{ site.title }}</a> on {{ post.date | date: "%B %d, %Y" }}.</p>