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 %} {% endfor %}
</li> </li>
{% endif %} {% endif %}
{% if article.authors and ARTICLE_AUTHORS %} {% if not HIDE_AUTHORS and article.authors %}
<li> <li>
<i class="fa fa-fw fa-users"></i> <i class="fa fa-fw fa-users"></i>
{% for author in article.authors %} {% for author in article.authors %}

View File

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

View File

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