ARTICLE_AUTHORS -> HIDE_AUTHORS
parent
8879c5cf58
commit
d7b535dc95
|
@ -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 %}
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue