From f6403101a9ff11f35b08f12667fa1073637ba99c Mon Sep 17 00:00:00 2001 From: Darius Auding <Darius.auding@gmx.de> Date: Thu, 14 Mar 2024 22:25:01 +0100 Subject: [PATCH] Make the `figcaption` Element in Blogposts with the `post.html` visible --- templates/blog/post.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/blog/post.html b/templates/blog/post.html index 243e6b92..835f55e1 100644 --- a/templates/blog/post.html +++ b/templates/blog/post.html @@ -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 %} -- GitLab