Edit caption blueprint and style

This commit is contained in:
Paul Nicoué 2022-07-07 18:57:07 +02:00
parent 8b91531957
commit 942304c948
6 changed files with 29 additions and 6 deletions

View file

@ -34,7 +34,7 @@
<img class="gallery__image" src="{{ artwork.url }}" srcset="{{ artwork.srcset() }}" alt="{{ artwork.alt_text }}">
{% endif %}
{% if artwork.caption %}
<figcaption>{{ artwork.caption }}</figcaption>
<figcaption>{{ artwork.caption.kirbytext|raw }}</figcaption>
{% endif %}
</figure>
{% endfor %}