Skip to content
Snippets Groups Projects
Commit 9068ae39 authored by magicfelix's avatar magicfelix
Browse files

Fix credits attribute in further shortcode

parent 804efc1e
No related branches found
No related tags found
1 merge request!73Fix credits attribute in further shortcode
Pipeline #192927 canceled
......@@ -14,8 +14,8 @@
<figure class="image is-4by3">
{% set image = resize_image(path="@/" ~ page.colocated_path ~ "/" ~ further.image, width=800, height=600) -%}
<img src="{{image.url}}" alt="{{further.alt}}" />
{% if further.image.credits %}
<figcaption class="p-1 has-text-white has-background-black is-size-7 is-italic">{{ further.image.credits }}</figcaption>
{% if further.credits %}
<figcaption class="p-1 has-text-white has-background-black is-size-7 is-italic">{{ further.credits }}</figcaption>
{% endif %}
</figure>
</a>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment