diff --git a/templates/blog/post.html b/templates/blog/post.html index 243e6b9259cc5c1f40b3702ded881cbbf703ffd7..835f55e1c6dc8fae6a9d98a2646b82af61bc1953 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 %}