diff options
author | Clemens Lutz <lutzcle@cml.li> | 2016-06-03 10:35:14 +0200 |
---|---|---|
committer | Clemens Lutz <lutzcle@cml.li> | 2016-06-06 11:10:00 +0200 |
commit | 28dae178166ae78c3eae2b2ce37a4eab340be468 (patch) | |
tree | ce4dc4e37f8e404d80449fa2916987869c433767 /pelican-bootstrap3/templates | |
parent | 8f822122851f0c6796aeb5df638dbf0c91a2d9e7 (diff) | |
download | pelican-themes-28dae178166ae78c3eae2b2ce37a4eab340be468.tar.gz |
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
Diffstat (limited to 'pelican-bootstrap3/templates')
-rw-r--r-- | pelican-bootstrap3/templates/base.html | 2 |
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 --> |