Changed front matter "credit" to "caption" and "url" to "caption_url"
This makes more sense and standardize frontmatter.
This commit is contained in:
parent
8ef95125bd
commit
37c68f331a
14 changed files with 33 additions and 33 deletions
|
@ -6,9 +6,9 @@ format: page-fullwidth
|
|||
<div class="row t30">
|
||||
<div class="small-12 columns">
|
||||
<img src="{{ site.url }}/images/{{ page.image.title }}" width="970" alt="{{ page.title escape_once }}">
|
||||
{% if page.image.url && page.image.credit %}
|
||||
{% if page.image.caption_url && page.image.caption %}
|
||||
<p class="text-right caption">
|
||||
<a href="{{ page.image.url }}">{{ page.image.credit }}</a>
|
||||
<a href="{{ page.image.caption_url }}">{{ page.image.caption }}</a>
|
||||
</p>
|
||||
{% endif %}
|
||||
</div><!-- /.small-12.columns -->
|
||||
|
|
Reference in a new issue