Commit a3089c94 authored by andre's avatar andre

Bootstrap - Add toggler switch

parent f9631b7e
...@@ -9,9 +9,11 @@ ...@@ -9,9 +9,11 @@
{% endif %} {% endif %}
{{ brand.text }} {{ brand.text }}
</a> </a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation"> {% if toggler is not defined or toggler %}
<span class="navbar-toggler-icon"></span> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
</button> <span class="navbar-toggler-icon"></span>
</button>
{% endif %}
<div class="collapse navbar-collapse" id="navbarResponsive"> <div class="collapse navbar-collapse" id="navbarResponsive">
{% for nav in navs if nav.condition is not defined or nav.condition %} {% for nav in navs if nav.condition is not defined or nav.condition %}
<ul class="navbar-nav {{ nav.class|default('') }}"> <ul class="navbar-nav {{ nav.class|default('') }}">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment