Wrapped image.creditlink in quotes;

Extended Feature Image Credit to Page Layout as well.
This commit is contained in:
Sandeep Chivukula 2013-08-03 11:59:49 -07:00
parent 68e2014c84
commit b4488c82ac
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@
<div id="main" role="main" itemprop="mainContentOfPage">
<article class="entry" itemscope itemtype="http://schema.org/ItemPage">
{% if page.image.feature %}<img src="{{ site.url }}/images/{{ page.image.feature }}" class="entry-feature-image" alt="{{ page.title }}" itemprop="image">{% endif %}
{% if page.image.feature %}<img src="{{ site.url }}/images/{{ page.image.feature }}" class="entry-feature-image" alt="{{ page.title }}" itemprop="image">{% if page.image.credit %}<p class="image-credit">Photo Credit: <a class="image-credit" href="{{page.image.creditlink}}">{{page.image.credit}}</a>{% endif %}{% endif %}
<div class="entry-wrapper">
<header class="entry-header">
<h1 class="entry-title" itemprop="name">{% if page.headline %}{{ page.headline }}{% else %}{{ page.title }}</h1>{% endif %}

View file

@ -14,7 +14,7 @@
<div id="main" role="main" itemprop="mainContentOfPage">
<article class="hentry" itemscope itemtype="http://schema.org/BlogPosting">
{% if page.image.feature %}<img src="{{ site.url }}/images/{{ page.image.feature }}" class="entry-feature-image" alt="{{ page.title }}" itemprop="image">{% if page.image.credit %}<p class="image-credit">Photo Credit: <a class="image-credit" href={{page.image.creditlink}}>{{page.image.credit}}</a>{% endif %}{% endif %}
{% if page.image.feature %}<img src="{{ site.url }}/images/{{ page.image.feature }}" class="entry-feature-image" alt="{{ page.title }}" itemprop="image">{% if page.image.credit %}<p class="image-credit">Photo Credit: <a class="image-credit" href="{{page.image.creditlink}}">{{page.image.credit}}</a>{% endif %}{% endif %}
<div class="entry-wrapper">
<header class="entry-header">
<span class="entry-tags">{% for tag in page.tags %}<a href="{{ site.url }}/tags.html#{{ tag | cgi_encode }}" title="Pages tagged {{ tag }}" rel="tag">{{ tag }}</a>{% unless forloop.last %} &bull; {% endunless %}{% endfor %}</span>