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

Exclude blog posts from menu

parent 808595e8
No related branches found
No related tags found
1 merge request!74Resolve "Tag blog posts with projects, target groups, and maybe tags"
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
<h1 class="title is-6 is-mega-menu-title">{{ zielgruppe.name }}</h1> <h1 class="title is-6 is-mega-menu-title">{{ zielgruppe.name }}</h1>
{% for page in zielgruppe.pages %} {% for page in zielgruppe.pages %}
{% if page.date %}{% continue %}{% endif %}
<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>
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<p class="is-4">{{ project_section.description }}</p> <p class="is-4">{{ project_section.description }}</p>
</a></h1> </a></h1>
{% for page in project_taxonomy.pages %} {% for page in project_section.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