diff --git a/_includes/_author-bio.html b/_includes/_author-bio.html index fb6be480..c01c5323 100644 --- a/_includes/_author-bio.html +++ b/_includes/_author-bio.html @@ -1,4 +1,10 @@ -{{ site.owner.name }} bio photo +{% if site.owner.avatar contains 'http://' %} + {{ site.owner.name }} bio photo +{% elsif site.owner.avatar contains 'https://' %} + {{ site.owner.name }} bio photo +{% else %} + {{ site.owner.name }} bio photo +{% endif %}

{{ site.owner.name }}

{{ site.owner.bio }}

{% if site.owner.twitter %} Twitter{% endif %} diff --git a/_includes/_head.html b/_includes/_head.html index 8a726f1b..d6c020a7 100644 --- a/_includes/_head.html +++ b/_includes/_head.html @@ -3,13 +3,43 @@ {% if site.owner.twitter %} -{% if page.image.feature %} - -{% else %} -{% endif %} - - -{% endif %} + {% if page.image.feature %} + + + {% else %} + + + {% endif %} + + + +{% endif %} diff --git a/_layouts/home.html b/_layouts/home.html index f889e35f..bddda197 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -13,10 +13,22 @@ {% include _navigation.html %} -{% if page.image.feature %}
- {{ page.title }} feature image - {% if page.image.credit %}Photo Credit: {{ page.image.credit }}{% endif %} -
{% endif %} +{% if page.image.feature %} +
+ {{ page.title }} feature image + {% if page.image.credit %} + Photo Credit: {{ page.image.credit }} + {% endif %} +
+{% endif %}
{% include _author-bio.html %} diff --git a/_layouts/page.html b/_layouts/page.html index ae3ad7fa..62df57e2 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -13,10 +13,22 @@ {% include _navigation.html %} -{% if page.image.feature %}
- {{ page.title }} feature image - {% if page.image.credit %}Photo Credit: {{ page.image.credit }}{% endif %} -
{% endif %} +{% if page.image.feature %} +
+ {{ page.title }} feature image + {% if page.image.credit %} + Photo Credit: {{ page.image.credit }} + {% endif %} +
+{% endif %}