diff options
author | Justin Mayer <entroP@gmail.com> | 2016-04-10 08:56:39 -0700 |
---|---|---|
committer | Justin Mayer <entroP@gmail.com> | 2016-04-10 08:56:39 -0700 |
commit | 089476e7bae8c6b63bb800145c823b0c671b8224 (patch) | |
tree | faa1d37684c0699141a15db9d57fb5993cdfa6b4 | |
parent | d32b18826bd816c799d958917f924dad51713384 (diff) | |
parent | 0b80096104d67e0ea9262c6152b7acb34154d7a7 (diff) | |
download | pelican-themes-089476e7bae8c6b63bb800145c823b0c671b8224.zip pelican-themes-089476e7bae8c6b63bb800145c823b0c671b8224.tar.gz pelican-themes-089476e7bae8c6b63bb800145c823b0c671b8224.tar.bz2 |
Merge pull request #382 from sevagh/bootstrap2
bootstrap2: respect DISPLAY_CATEGORIES_ON_MENU setting
-rw-r--r-- | bootstrap2/templates/base.html | 2 |
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> |