diff --git a/templates/layout.html b/templates/layout.html
index 3230836..ed7b809 100644
--- a/templates/layout.html
+++ b/templates/layout.html
@@ -115,42 +115,48 @@
else %}{{ bag('navigation', 'de', 'home') }}{% endif %}{%
for title, href in bag('nav-bar', "NavBar").items() %}
{% if bag('navigation', this.alt, title) %}{{ bag('navigation', this.alt, title) }}{% else %}{{ title }}{% endif %}
-
- {% if bag('nav-bar', 'list', title) %}
- {% set root = site.get( bag('nav-bar', 'list', title), alt=this.alt) %}{%
+ %}>{% if bag('navigation', this.alt, title) %}{{ bag('navigation', this.alt, title) }}{% else %}{{ title }}{% endif %}
+ {%
+ if bag('nav-bar', 'list', title) %}{%
+ set root = site.get( bag('nav-bar', 'list', title), alt=this.alt) %}{%
for child in root.children recursive %}{% if loop.index <= 7 %}
-
-
- {{ child.shorttitle if child.shorttitle else child.title }}
-
- {% endif %}{% endfor %}
- {% endif %}
- {% if bag('nav-bar', title) %}
- {% for nav_title, nav_url in bag('nav-bar', title).items() %}
- -
- {{ bag('navigation', this.alt, nav_title)
+ {{ child.shorttitle if child.shorttitle else child.title }}
{%
+ endif %}{% endfor %}{%
+ endif %}
+ {% if bag('nav-bar', title) %} {%
+ for nav_title, nav_url in bag('nav-bar', title).items()
+ %}- {{ bag('navigation', this.alt, nav_title)
if bag('navigation', this.alt, nav_title)
- else bag('navigation', 'de', nav_title) }}
-
- {% endfor %}
- {% endif %}
+ else bag('navigation', 'de', nav_title) }}
{%
+ endfor %}{% endif %}
-
- {% endfor %}
- {% if bag('navigation', this.alt, 'sprache') %}{{ bag('navigation', this.alt, 'sprache') }}{% else %}Sprache{% endif %}
+ {% endfor %}
+ {%
+ if bag('navigation', this.alt, 'sprache')
+ %}{{ bag('navigation', this.alt, 'sprache') }}{%
+ else %}Sprache{%
+ endif %}
- {%
- if bag('navigation', this.alt, 'German') %}{{ bag('navigation', this.alt, 'German') }}{%
- else %}{{ bag('navigation', 'de', 'German') }}{% endif %}
+ if bag('navigation', this.alt, 'German')
+ %}{{ bag('navigation', this.alt, 'German') }}{%
+ else %}{{ bag('navigation', 'de', 'German') }}{%
+ endif %}
{%
- if bag('navigation', this.alt, 'Englisch') %}{{ bag('navigation', this.alt, 'Englisch') }}{%
+ if bag('navigation', this.alt, 'Englisch')
+ %}{{ bag('navigation', this.alt, 'Englisch') }}{%
else %}{{ bag('navigation', 'de', 'Englisch') }}{%
endif %} ({%
- if bag('navigation', this.alt, 'falls') %}{{ bag('navigation', this.alt, 'falls') }}{%
+ if bag('navigation', this.alt, 'falls')
+ %}{{ bag('navigation', this.alt, 'falls') }}{%
else %}{{ bag('navigation', 'de', 'falls') }}{%
endif %})
@@ -226,7 +232,7 @@ Wenn Sie unsere Kritik an der geplanten Urheberrechtsreform teilen, werden Sie a
['Mail', 'fas fa-envelope', "mailto:waffeln@c3woc.de"],
['IRC Chat', 'fas fa-hashtag', "ircs://irc.hackint.org/#waffel"],
['Webirc Chat', 'fab fa-slack', "https://webirc.hackint.org/#irc://irc.hackint.org/#waffel"],
- ['Rezept-Feed', 'fas fa-receipt', "https://c3woc.de/feed_rezepte.xml"],
+ ['Rezept-Feed', 'fas fa-receipt', "https://c3woc.de.de/feed_rezepte.xml"],
['News', 'fas fa-rss', "https://c3woc.de/feed_blog.xml"],
['Tourdaten', 'far fa-calendar-plus', "https://c3woc.de/waffeln.ics"],
['Tourdaten', 'fas fa-user-plus', "https://c3woc.de/mitmachen"]