M _layouts/home.html => _layouts/home.html +16 -4
@@ 13,10 13,22 @@
{% include _navigation.html %}
-{% if page.image.feature %}<div class="image-wrap">
- <img src="{{ site.url }}/images/{{ page.image.feature }}" alt="{{ page.title }} feature image">
- {% if page.image.credit %}<span class="image-credit">Photo Credit: <a href="{{ page.image.creditlink }}">{{ page.image.credit }}</a></span>{% endif %}
-</div><!-- /.image-wrap -->{% endif %}
+{% if page.image.feature %}
+ <div class="image-wrap">
+ <img src=
+ {% if page.image.feature contains 'http://' %}
+ "{{ page.image.feature }}"
+ {% elsif page.image.feature contains 'https://' %}
+ "{{ page.image.feature }}"
+ {% else %}
+ "{{ site.url }}/images/{{ page.image.feature }}"
+ {% endif %}
+ alt="{{ page.title }} feature image">
+ {% if page.image.credit %}
+ <span class="image-credit">Photo Credit: <a href="{{ page.image.creditlink }}">{{ page.image.credit }}</a></span>
+ {% endif %}
+ </div><!-- /.image-wrap -->
+{% endif %}
<div class="article-author-side">
{% include _author-bio.html %}
M _layouts/page.html => _layouts/page.html +16 -4
@@ 13,10 13,22 @@
{% include _navigation.html %}
-{% if page.image.feature %}<div class="image-wrap">
- <img src="{{ site.url }}/images/{{ page.image.feature }}" alt="{{ page.title }} feature image">
- {% if page.image.credit %}<span class="image-credit">Photo Credit: <a href="{{ page.image.creditlink }}">{{ page.image.credit }}</a></span>{% endif %}
-</div><!-- /.image-wrap -->{% endif %}
+{% if page.image.feature %}
+ <div class="image-wrap">
+ <img src=
+ {% if page.image.feature contains 'http://' %}
+ "{{ page.image.feature }}"
+ {% elsif page.image.feature contains 'https://' %}
+ "{{ page.image.feature }}"
+ {% else %}
+ "{{ site.url }}/images/{{ page.image.feature }}"
+ {% endif %}
+ alt="{{ page.title }} feature image">
+ {% if page.image.credit %}
+ <span class="image-credit">Photo Credit: <a href="{{ page.image.creditlink }}">{{ page.image.credit }}</a></span>
+ {% endif %}
+ </div><!-- /.image-wrap -->
+{% endif %}
<div id="main" role="main">
<div class="article-author-side">
M _layouts/post-index.html => _layouts/post-index.html +16 -4
@@ 13,10 13,22 @@
{% include _navigation.html %}
-{% if page.image.feature %}<div class="image-wrap">
- <img src="{{ site.url }}/images/{{ page.image.feature }}" alt="{{ page.title }} feature image" itemprop="primaryImageOfPage">
- {% if page.image.credit %}<span class="image-credit">Photo Credit: <a href="{{ page.image.creditlink }}">{{ page.image.credit }}</a></span>{% endif %}
-</div><!-- /.image-wrap -->{% endif %}
+{% if page.image.feature %}
+ <div class="image-wrap">
+ <img src=
+ {% if page.image.feature contains 'http://' %}
+ "{{ page.image.feature }}"
+ {% elsif page.image.feature contains 'https://' %}
+ "{{ page.image.feature }}"
+ {% else %}
+ "{{ site.url }}/images/{{ page.image.feature }}"
+ {% endif %}
+ alt="{{ page.title }} feature image">
+ {% if page.image.credit %}
+ <span class="image-credit">Photo Credit: <a href="{{ page.image.creditlink }}">{{ page.image.credit }}</a></span>
+ {% endif %}
+ </div><!-- /.image-wrap -->
+{% endif %}
<div class="article-author-side">
{% include _author-bio.html %}
M _layouts/post.html => _layouts/post.html +16 -4
@@ 13,10 13,22 @@
{% include _navigation.html %}
-{% if page.image.feature %}<div class="image-wrap">
- <img src="{{ site.url }}/images/{{ page.image.feature }}" alt="{{ page.title }} feature image">
- {% if page.image.credit %}<span class="image-credit">Photo Credit: <a href="{{ page.image.creditlink }}">{{ page.image.credit }}</a></span>{% endif %}
-</div><!-- /.image-wrap -->{% endif %}
+{% if page.image.feature %}
+ <div class="image-wrap">
+ <img src=
+ {% if page.image.feature contains 'http://' %}
+ "{{ page.image.feature }}"
+ {% elsif page.image.feature contains 'https://' %}
+ "{{ page.image.feature }}"
+ {% else %}
+ "{{ site.url }}/images/{{ page.image.feature }}"
+ {% endif %}
+ alt="{{ page.title }} feature image">
+ {% if page.image.credit %}
+ <span class="image-credit">Photo Credit: <a href="{{ page.image.creditlink }}">{{ page.image.credit }}</a></span>
+ {% endif %}
+ </div><!-- /.image-wrap -->
+{% endif %}
<div id="main" role="main">
<div class="article-author-side">
M about.md => about.md +1 -1
@@ 6,7 6,7 @@ tagline: Minimal Mistakes, a Jekyll Theme
tags: [about, Jekyll, theme, responsive]
modified: 9-9-2013
image:
- feature: texture-feature-02.jpg
+ feature: http://lh3.googleusercontent.com/gv26Akm_nGFqhsIm6_YFsrK0Po3SHD9rrNTZIio9PiJP=w1358-h402-no
credit: Texture Lovers
creditlink: http://texturelovers.com
---