aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap2/templates
diff options
context:
space:
mode:
authorSevag Hanssian <sevag.hanssian@gmail.com>2016-04-10 11:29:23 -0400
committerSevag Hanssian <sevag.hanssian@gmail.com>2016-04-10 11:29:23 -0400
commit0b80096104d67e0ea9262c6152b7acb34154d7a7 (patch)
treefaa1d37684c0699141a15db9d57fb5993cdfa6b4 /bootstrap2/templates
parentd32b18826bd816c799d958917f924dad51713384 (diff)
downloadpelican-themes-0b80096104d67e0ea9262c6152b7acb34154d7a7.zip
pelican-themes-0b80096104d67e0ea9262c6152b7acb34154d7a7.tar.gz
pelican-themes-0b80096104d67e0ea9262c6152b7acb34154d7a7.tar.bz2
respect DISPLAY_CATEGORIES_ON_MENU in bootstrap2
Diffstat (limited to 'bootstrap2/templates')
-rw-r--r--bootstrap2/templates/base.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/bootstrap2/templates/base.html b/bootstrap2/templates/base.html
index d96470e..a5ffa2f 100644
--- a/bootstrap2/templates/base.html
+++ b/bootstrap2/templates/base.html
@@ -75,6 +75,7 @@
{% 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 }}">
@@ -82,6 +83,7 @@
</a>
</li>
{% endfor %}
+ {% endif %}
<ul class="nav pull-right">
<li><a href="{{ SITEURL }}/archives.html"><i class="icon-th-list"></i>Archives</a></li>