From 8cb3893856f6f7838fe13a9554eafdbefa02cb5b Mon Sep 17 00:00:00 2001 From: Maximilian Held Date: Tue, 11 Mar 2014 00:42:54 +0100 Subject: [PATCH] make feature images accept hotlinks --- _layouts/home.html | 20 ++++++++++++++++---- _layouts/page.html | 20 ++++++++++++++++---- _layouts/post-index.html | 20 ++++++++++++++++---- _layouts/post.html | 20 ++++++++++++++++---- about.md | 2 +- 5 files changed, 65 insertions(+), 17 deletions(-) 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 %}