Skip to content
Snippets Groups Projects
Commit d023ca06 authored by magicfelix's avatar magicfelix
Browse files

Fix get_section

parent 1f663aa6
No related branches found
No related tags found
1 merge request!89Resolve "Internationalize template"
Pipeline #195712 failed
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<h2 class="title is-2">{{ trans(key="our_projects", lang=lang) }}</h2> <h2 class="title is-2">{{ trans(key="our_projects", lang=lang) }}</h2>
<div class="columns is-same-height mt-4"> <div class="columns is-same-height mt-4">
{% for project_section_path in projects_section.subsections %} {% 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="column is-one-third" property="schema:brand" resource="{{ project_section.permalink }}" typeof="schema:Brand">
<div class="card is-shadowless"> <div class="card is-shadowless">
<div class="card-image"> <div class="card-image">
......
{% 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="container is-fluid">
<div class="columns"> <div class="columns">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment