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
|
@ -62,9 +62,9 @@ format: blog-index
|
|||
<a href="{{ site.url }}{{ post.url }}" title="{{ post.title escape_once }}"><img width="970" src="{{ site.url }}/images/{{ post.image.homepage }}" alt="{{ page.title escape_once }}"></a>
|
||||
</p>
|
||||
|
||||
{% if post.image.url && post.image.credit %}
|
||||
{% if post.image.caption_url && post.image.caption %}
|
||||
<p class="text-right caption">
|
||||
<a href="{{ post.image.url }}">{{ post.image.credit }}</a>
|
||||
<a href="{{ post.image.caption_url }}">{{ post.image.caption }}</a>
|
||||
</p>
|
||||
{% endif %}
|
||||
{% elsif post.image.homepage == NULL %}
|
||||
|
|
Reference in a new issue