Add image attribution for post and page feature images

This commit is contained in:
Michael Rose
2013-09-07 09:05:36 -04:00
parent 07b98f3459
commit 3d59923b7f
13 changed files with 51 additions and 25 deletions

View File

@ -15,6 +15,7 @@
{% 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 %}
<div id="main" role="main" itemprop="mainContentOfPage" itemscope itemtype="http://schema.org/Blog">