1
0
Fork 0
website/templates/nav.html.j2

19 lines
643 B
Django/Jinja

{% set navigation_bar = [
('index.html', 'Reudnetz - Internet für Leipzigs Osten', 'Wilkommen'),
('was.html', 'Was genau verkauft Reudnetz', 'Was'),
('wie.html', 'Wie funktioniert das?', 'Wie'),
('wer.html', 'Wer ist Reudnetz', 'Wer'),
('warum.html', 'Warum gibt es Reudnetz', 'Warum')
] -%}
<div class="row nav">
<div class="fg12">
<ul>
{% for href, title, caption in navigation_bar %}
<li{% if name == href %} class="current"{% endif %}>
<a href="{{ href }}" title="{{ title }}">{{ caption }}</a>
</li>
{% endfor %}
</ul>
</div>
</div>