From c7d03cae7e074ce85e6556f6f09f4959d75f005d Mon Sep 17 00:00:00 2001
From: Dominik George <dominik.george@teckids.org>
Date: Tue, 12 Mar 2024 13:59:31 +0100
Subject: [PATCH] Fix project links

---
 templates/frontpage/blocks/projects.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/frontpage/blocks/projects.html b/templates/frontpage/blocks/projects.html
index 29750db9..2b321156 100644
--- a/templates/frontpage/blocks/projects.html
+++ b/templates/frontpage/blocks/projects.html
@@ -10,14 +10,14 @@
         <div class="card is-shadowless">
           <div class="columns is-centered">
             <figure class="image is-70p">
-              <a href="/projekte/{{ project_section.extra.project_slug }}"><img src="{{ project_section.extra.title_icon }}" alt="Logo {{ project_section.title }}" /></a>
+              <a href="{{ project_section.permalink }}"><img src="{{ project_section.extra.title_icon }}" alt="Logo {{ project_section.title }}" /></a>
             </figure>
           </div>
         </div>
         <div class="card-content">
           <div class="media">
             <div class="media-content">
-              <a href="/projekte/{{ project_section.extra.project_slug }}"><h1 class="title is-4">{{ project_section.title }}</h1></a>
+              <a href="{{ project_section.permalink }}"><h3 class="title is-3">{{ project_section.title }}</h3></a>
             </div>
           </div>
 
-- 
GitLab