Skip to content
Snippets Groups Projects
Commit d31b4bd9 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Merge branch '30-fix-further-shortcode-credits-attribute' into 'master'

Fix credits attribute in further shortcode

Closes #30

See merge request !73
parents e986a2c5 9068ae39
No related branches found
No related tags found
1 merge request!73Fix credits attribute in further shortcode
Pipeline #192929 canceled
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
<figure class="image is-4by3"> <figure class="image is-4by3">
{% set image = resize_image(path="@/" ~ page.colocated_path ~ "/" ~ further.image, width=800, height=600) -%} {% set image = resize_image(path="@/" ~ page.colocated_path ~ "/" ~ further.image, width=800, height=600) -%}
<img src="{{image.url}}" alt="{{further.alt}}" /> <img src="{{image.url}}" alt="{{further.alt}}" />
{% if further.image.credits %} {% if further.credits %}
<figcaption class="p-1 has-text-white has-background-black is-size-7 is-italic">{{ further.image.credits }}</figcaption> <figcaption class="p-1 has-text-white has-background-black is-size-7 is-italic">{{ further.credits }}</figcaption>
{% endif %} {% endif %}
</figure> </figure>
</a> </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