From 9f8b5ecc3c17ccfd28967ae0ceb761306649310e Mon Sep 17 00:00:00 2001 From: Dominik George <dominik.george@teckids.org> Date: Tue, 12 Mar 2024 13:58:37 +0100 Subject: [PATCH] Link blog psots to post pages --- templates/frontpage/blocks/blog.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/frontpage/blocks/blog.html b/templates/frontpage/blocks/blog.html index 64684d65..395d02fa 100644 --- a/templates/frontpage/blocks/blog.html +++ b/templates/frontpage/blocks/blog.html @@ -8,11 +8,11 @@ <div class="card"> <div class="card-image"> <figure class="image is-4by3"> - <img src="{{ get_url(path="@/" ~ post.relative_path, trailing_slash=true) }}{{ post.extra.depiction.image | safe }}" alt="{{ post.extra.depiction.alt }}" /> + <a href="{{ post.permalink }}"><img src="{{ get_url(path="@/" ~ post.relative_path, trailing_slash=true) }}{{ post.extra.depiction.image | safe }}" alt="{{ post.extra.depiction.alt }}" /></a> </figure> </div> <div class="card-content"> - <h3 class="title is-3">{{ post.title }}</h3> + <a href="{{ post.permalink }}"><h3 class="title is-3">{{ post.title }}</h3></a> <div class="content"> {{ post.summary | safe }} </div> -- GitLab