added HIDE_CATEGORIES configuration flags

This commit is contained in:
Pierre-Antoine Champin 2019-04-27 21:51:50 +02:00
commit f5777d2602
3 changed files with 7 additions and 1 deletions

View file

@ -4,7 +4,9 @@
<li class="list-inline-item"><a href="{{ SITEURL }}/authors.html">Authors</a></li>
{% endif %}
<li class="list-inline-item"><a href="{{ SITEURL }}/archives.html">Archives</a></li>
<li class="list-inline-item"><a href="{{ SITEURL }}/categories.html">Categories</a></li>
{% if not HIDE_CATEGORIES %}
<li class="list-inline-item"><a href="{{ SITEURL }}/categories.html">Categories</a></li>
{% endif %}
{% if tags|length %}
<li class="list-inline-item"><a href="{{ SITEURL }}/tags.html">Tags</a></li>
{% endif %}