Skip to content
Snippets Groups Projects
Commit f6403101 authored by codecraft's avatar codecraft :crocodile:
Browse files

Make the `figcaption` Element in Blogposts with the `post.html` visible

parent ed8a7eea
No related branches found
No related tags found
1 merge request!37Make figcaption visible
......@@ -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 class="" src="{{ image.url }}" alt="{{ post.extra.depiction.alt }}" />
</div>
{% if post.extra.depiction.credits %}
<figcaption>{{ post.extra.depiction.credits }}</figcaption>
{% endif %}
......
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