Only include email if author has an email address specified
This commit is contained in:
parent
027176b38f
commit
161585f6ad
2
feed.xml
2
feed.xml
@ -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 }}
|
||||
<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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user