2015-05-23 10:03:01 +00:00
|
|
|
{% load menu_tags staticfiles cms_tags %}
|
|
|
|
<!-- Navigation -->
|
|
|
|
<nav class="navbar navbar-default navbar-custom navbar-fixed-top">
|
|
|
|
<div class="container-fluid">
|
|
|
|
<!-- Brand and toggle get grouped for better mobile display -->
|
|
|
|
<div class="navbar-header page-scroll">
|
|
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
|
2018-04-12 16:54:50 +00:00
|
|
|
<span class="sr-only">Toggle navigation</span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
2015-05-23 10:03:01 +00:00
|
|
|
</button>
|
2019-01-09 20:31:39 +00:00
|
|
|
<a href="/" id="logoBlack" class="navbar-brand custom-black-logo"><img src="{% static "blog.ungleich.ch/img/logo_black.svg" %}"></a>
|
|
|
|
<a href="/" id="logoWhite" class="navbar-brand"><img src="{% static "blog.ungleich.ch/img/logo_white.svg" %}"></a>
|
2015-05-23 10:03:01 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Collect the nav links, forms, and other content for toggling -->
|
|
|
|
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
|
|
|
<ul class="nav navbar-nav navbar-right">
|
2018-04-12 16:54:50 +00:00
|
|
|
<li>
|
|
|
|
<a href="{% url 'djangocms_blog:posts-latest' %}">Ungleich Blog</a>
|
|
|
|
</li>
|
|
|
|
{% comment %}
|
|
|
|
{% for child in children %}
|
|
|
|
<li class="child{% if child.selected %} selected{% endif %}{% if child.ancestor %} ancestor{% endif %}{% if child.sibling %} sibling{% endif %}{% if child.descendant %} descendant{% endif %}">
|
|
|
|
<a href="{{ child.attr.redirect_url|default:child.get_absolute_url }}">{{ child.get_menu_title }}</a>
|
|
|
|
{% if child.children %}
|
|
|
|
<ul>
|
|
|
|
{% show_menu from_level to_level extra_inactive extra_active template "" "" child %}
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
{% endcomment %}
|
2015-05-23 10:03:01 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<!-- /.navbar-collapse -->
|
|
|
|
</div>
|
|
|
|
<!-- /.container -->
|
|
|
|
</nav>
|