aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClemens Lutz <lutzcle@cml.li>2016-06-03 10:35:14 +0200
committerClemens Lutz <lutzcle@cml.li>2016-06-06 11:10:00 +0200
commit28dae178166ae78c3eae2b2ce37a4eab340be468 (patch)
treece4dc4e37f8e404d80449fa2916987869c433767
parent8f822122851f0c6796aeb5df638dbf0c91a2d9e7 (diff)
downloadpelican-themes-28dae178166ae78c3eae2b2ce37a4eab340be468.zip
pelican-themes-28dae178166ae78c3eae2b2ce37a4eab340be468.tar.gz
pelican-themes-28dae178166ae78c3eae2b2ce37a4eab340be468.tar.bz2
pelican-bootstrap3: Hide archives link in navigation bar while ARCHIVES_SAVE_AS is empty.
Replace HIDE_ARCHIVE variable with hiding while archiving is not enabled Revert README
-rw-r--r--pelican-bootstrap3/templates/base.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/pelican-bootstrap3/templates/base.html b/pelican-bootstrap3/templates/base.html
index 610d050..8757f1a 100644
--- a/pelican-bootstrap3/templates/base.html
+++ b/pelican-bootstrap3/templates/base.html
@@ -144,7 +144,9 @@
</form></span>
</li>
{% endif %}
+ {% if ARCHIVES_SAVE_AS %}
<li><a href="{{ SITEURL }}/{{ ARCHIVES_URL | default('archives.html') }}"><i class="fa fa-th-list"></i><span class="icon-label">Archives</span></a></li>
+ {% endif %}
</ul>
</div>
<!-- /.navbar-collapse -->