Skip to content
Snippets Groups Projects

Make figcaption visible

Merged codecraft requested to merge make_figcaption_visible into master
+ 4
2
@@ -11,9 +11,11 @@
<div class="column is-one-quarter">
<div class="card">
<div class="card-image">
<figure class="image is-4by3">
<figure>
{% set image = resize_image(path="@/" ~ post.colocated_path ~ "/" ~ post.extra.depiction.image, width=800, height=600) -%}
<img src="{{ image.url }}" alt="{{ post.extra.depiction.alt }}" />
<div class="image is-4by3">
<img src="{{ image.url }}" alt="{{ post.extra.depiction.alt }}" />
</div>
{% if post.extra.depiction.credits %}
<figcaption>{{ post.extra.depiction.credits }}</figcaption>
{% endif %}
Loading