mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-11-21 17:47:10 +00:00
Wrapped image.creditlink in quotes;
Extended Feature Image Credit to Page Layout as well.
This commit is contained in:
parent
68e2014c84
commit
b4488c82ac
2 changed files with 2 additions and 2 deletions
|
@ -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 %}
|
||||
|
|
|
@ -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 %} • {% endunless %}{% endfor %}</span>
|
||||
|
|
Loading…
Reference in a new issue