Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dldx/hpstr-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Rose <est.michael@gmail.com>2014-12-24 08:14:57 +0300
committerMichael Rose <est.michael@gmail.com>2014-12-24 08:14:57 +0300
commitc8b2fd6d4f78da40cc253f93a648c66310785cf2 (patch)
tree55bdb2c0831ad33cbc011cc638c5c009b7578a3e
parent82f53dacbc4a045cce18a27942616a93bafde67e (diff)
Add conditional for email in feed
-rw-r--r--feed.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/feed.xml b/feed.xml
index 5988999..dd20059 100644
--- a/feed.xml
+++ b/feed.xml
@@ -12,7 +12,7 @@ layout: null
<author>
<name>{{ site.owner.name }}</name>
<uri>{{ site.url }}/</uri>
- <email>{{ site.owner.email }}</email>
+ {% if site.owner.email %}<email>{{ site.owner.email }}</email>{% endif %}
</author>
{% for post in site.posts limit:20 %}