ARTICLE_AUTHORS -> HIDE_AUTHORS

main
Raymond Wanyoike 2016-11-12 15:21:48 +03:00
parent 8879c5cf58
commit d7b535dc95
3 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@
{% endfor %}
</li>
{% endif %}
{% if article.authors and ARTICLE_AUTHORS %}
{% if not HIDE_AUTHORS and article.authors %}
<li>
<i class="fa fa-fw fa-users"></i>
{% for author in article.authors %}

View File

@ -113,7 +113,7 @@
<div class="row">
<div class="col-sm-6">
<nav class="list-inline">
{% if ARTICLE_AUTHORS %}
{% if not HIDE_AUTHORS %}
<li><a href="{{ SITEURL }}/authors.html">Authors</a></li>
{% endif %}
<li><a href="{{ SITEURL }}/archives.html">Archives</a></li>

View File

@ -23,7 +23,7 @@ All Articles
<div>
<a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>
</div>
{% if article.authors and ARTICLE_AUTHORS %}
{% if not HIDE_AUTHORS and article.authors %}
<div>
{% for author in article.authors %}
<a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>{% if not loop.last %}, {% endif %}