mirror of
https://github.com/nairobilug/pelican-alchemy.git
synced 2024-12-30 12:15:06 +01:00
ARTICLE_AUTHORS -> HIDE_AUTHORS
This commit is contained in:
parent
8879c5cf58
commit
d7b535dc95
3 changed files with 3 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue