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

@ -21,10 +21,12 @@
<i class="fas fa-clock"></i>
{{ article.locale_date }}
</li>
{% if not HIDE_CATEGORIES %}
<li class="list-inline-item">
<i class="fas fa-folder-open"></i>
<a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>
</li>
{% endif %}
{% if not HIDE_AUTHORS and article.authors %}
<li class="list-inline-item">
<i class="fas fa-user"></i>