diff --git a/templates/frontpage/projects.html b/templates/frontpage/projects.html index f6150a064d4b165edf63c6fe1393cae012173c94..22caedf420ed55073209d66986bf614acd4c691d 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 8175e8d2d3d50bd79176ae7e3c6bf32c70f27917..7b775b8ea5f7dc93bf1739e4dcb7cbf7d41e8a6a 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">