From 0236054d34e496f9206e720d6bbedea7a01e7329 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Thu, 31 Jul 2014 15:21:11 -0400 Subject: [PATCH] Add optional email address to author bio and feed.xml - Fixes #35 - To add additional social network profiles edit _author-bio.html - Icons come from the Font Awesome webfont. See http://fontawesome.io/icons/ for a complete list --- _includes/_author-bio.html | 1 + feed.xml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/_includes/_author-bio.html b/_includes/_author-bio.html index 87d262d..802c99a 100644 --- a/_includes/_author-bio.html +++ b/_includes/_author-bio.html @@ -9,6 +9,7 @@ {% endif %}

{{ author.name }}

{{ author.bio }}

+{% if author.email %} {{ author.email }}{% endif %} {% if author.twitter %} Twitter{% endif %} {% if author.facebook %} Facebook{% endif %} {% if author.google_plus %} Google+{% endif %} diff --git a/feed.xml b/feed.xml index 1987c2c..948c52b 100644 --- a/feed.xml +++ b/feed.xml @@ -13,7 +13,7 @@ sitemap: false {{ site.owner.name }} {{ site.url }}/ - {{ site.owner.email }} + {% if site.owner.email %}{{ site.owner.email }}{% endif %} {% for post in site.posts limit:20 %} -- 2.43.0