From d023ca06e5f335d007f3e0ceb15bb55eeb48a96a Mon Sep 17 00:00:00 2001
From: magicfelix <felix@felix-zauberer.de>
Date: Wed, 29 Jan 2025 14:45:44 +0100
Subject: [PATCH] Fix get_section

---
 templates/frontpage/projects.html | 2 +-
 templates/menu/projects.html      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/frontpage/projects.html b/templates/frontpage/projects.html
index f6150a0..22caedf 100644
--- a/templates/frontpage/projects.html
+++ b/templates/frontpage/projects.html
@@ -5,7 +5,7 @@
     <h2 class="title is-2">{{ trans(key="our_projects", lang=lang) }}</h2>
     <div class="columns is-same-height mt-4">
       {% for project_section_path in projects_section.subsections %}
-        {% set project_section = get_section(path=project_section_path, lang=lang) %}
+        {% set project_section = get_section(path=project_section_path) %}
         <div class="column is-one-third" property="schema:brand" resource="{{ project_section.permalink }}" typeof="schema:Brand">
           <div class="card is-shadowless">
             <div class="card-image">
diff --git a/templates/menu/projects.html b/templates/menu/projects.html
index 8175e8d..7b775b8 100644
--- a/templates/menu/projects.html
+++ b/templates/menu/projects.html
@@ -1,4 +1,4 @@
-{% set projects_section = get_section(path="projekte/_index.md", lang=lang) %}
+{% set projects_section = get_section(path="projekte/_index.md") %}
 
 <div class="container is-fluid">
   <div class="columns">
-- 
GitLab