Skip to content
Snippets Groups Projects
Unverified Commit 910a1339 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Stabilise order of projects

parent 2f104af3
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
title = "Hack'n'Fun" title = "Hack'n'Fun"
template = "project.html" template = "project.html"
weight = 10
[extra] [extra]
logo = "artwork/logo-hacknfun.svg" logo = "artwork/logo-hacknfun.svg"
project_slug = "hack-n-fun" project_slug = "hack-n-fun"
......
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
title = "Indiedact" title = "Indiedact"
template = "project.html" template = "project.html"
weight = 30
[extra] [extra]
logo = "artwork/logo-leopard.svg" logo = "artwork/logo-leopard.svg"
project_slug = "indiedact" project_slug = "indiedact"
......
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
title = "schul-frei" title = "schul-frei"
template = "project.html" template = "project.html"
weight = 20
[extra] [extra]
logo = "artwork/logo-schul-frei.svg" logo = "artwork/logo-schul-frei.svg"
project_slug = "schul-frei" project_slug = "schul-frei"
......
{% set projects = get_taxonomy(kind = "projekt") %} {% 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">
{% for project in projects.items %} {% for project_section_path in projects_section.subsections %}
<section class="column menu-project-section" id="menu-project-section-{{ project.slug }}"> {% set project_section = get_section(path=project_section_path) %}
{% set section = get_section(path = "projekte/" ~ project.slug ~ {% set project_taxonomy = get_taxonomy_term(kind="projekt", term=project_section.title) %}
"/_index.md") %} <section class="column menu-project-section" id="menu-project-section-{{ project_taxonomy.slug }}">
<h1 class="title is-6 is-mega-menu-title"><a href="{{ section.permalink }}"> <h1 class="title is-6 is-mega-menu-title"><a href="{{ project_section.permalink }}">
<p> {{ section.title }} </p> <p> {{ project_section.title }} </p>
<p class="is-4">{{ section.description }}</p> <p class="is-4">{{ project_section.description }}</p>
</a></h1> </a></h1>
{% for page in project.pages %} {% for page in project_taxonomy.pages %}
<a class="navbar-item" href="{{ page.permalink }}"> <a class="navbar-item" href="{{ page.permalink }}">
<div class="navbar-content">{{ page.title }}</div> <div class="navbar-content">{{ page.title }}</div>
</a> </a>
......
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