From ee7e2ae84e0916b55b10e1558b17d54ef98c7948 Mon Sep 17 00:00:00 2001 From: Jonathan Weth <git@jonathanweth.de> Date: Wed, 10 Apr 2024 18:25:44 +0200 Subject: [PATCH] Fix spaces --- templates/blog/card.html | 2 +- templates/blog/meta_line.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/blog/card.html b/templates/blog/card.html index 22b7da4a..50bc952f 100644 --- a/templates/blog/card.html +++ b/templates/blog/card.html @@ -5,7 +5,7 @@ {% 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 }}" /> {% if post.extra.depiction.credits %} - <figcaption class="-1 has-text-white has-background-black is-size-7 is-italic">{{ post.extra.depiction.credits }}</figcaption> + <figcaption class="p-1 has-text-white has-background-black is-size-7 is-italic">{{ post.extra.depiction.credits }}</figcaption> {% endif %} </figure> </a> diff --git a/templates/blog/meta_line.html b/templates/blog/meta_line.html index cb101e88..7da4a02f 100644 --- a/templates/blog/meta_line.html +++ b/templates/blog/meta_line.html @@ -1,4 +1,4 @@ -<p class="subtitle is-7"> +<p class="subtitle is-7 py-2"> <span title="Veröffentlicht am"><i class="fa-solid fa-calendar-days"></i> {{ post.date }}</span> · <span title="Lesezeit"><i class="fa-solid fa-hourglass-start"></i> {{ post.reading_time }} min</span> </p> -- GitLab