Only include email if author has an email address specified
This commit is contained in:
2
feed.xml
2
feed.xml
@ -32,7 +32,7 @@ sitemap: false
|
|||||||
<author>
|
<author>
|
||||||
<name>{{ author.name }}</name>
|
<name>{{ author.name }}</name>
|
||||||
<uri>{{ site.url }}</uri>
|
<uri>{{ site.url }}</uri>
|
||||||
<email>{{ author.email }}</email>
|
{% if author.email %}<email>{{ author.email }}</email>{% endif %}
|
||||||
</author>
|
</author>
|
||||||
<content type="html">{{ post.content | xml_escape }}
|
<content type="html">{{ 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></content>
|
<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></content>
|
||||||
|
Reference in New Issue
Block a user