Skip to content

Commit

Permalink
respect DISPLAY_CATEGORIES_ON_MENU in bootstrap2
Browse files Browse the repository at this point in the history
  • Loading branch information
sevagh committed Apr 10, 2016
1 parent d32b188 commit 0b80096
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bootstrap2/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,15 @@
{% endfor %}
<li class="divider-vertical"></li>
{% endif %}
{% if DISPLAY_CATEGORIES_ON_MENU %}
{% for cat, null in categories %}
<li {% if cat == category %}class="active"{% endif %}>
<a href="{{ SITEURL }}/{{ cat.url }}">
<i class="icon-folder-open icon-large"></i>{{ cat }}
</a>
</li>
{% endfor %}
{% endif %}

<ul class="nav pull-right">
<li><a href="{{ SITEURL }}/archives.html"><i class="icon-th-list"></i>Archives</a></li>
Expand Down

0 comments on commit 0b80096

Please sign in to comment.