mirror of
https://github.com/nairobilug/pelican-alchemy.git
synced 2024-12-30 12:15:06 +01:00
added TAGS_IN_INDEX configuration flag
This commit is contained in:
parent
f5777d2602
commit
5c09a0b2d3
1 changed files with 8 additions and 0 deletions
|
|
@ -38,6 +38,14 @@
|
|||
{% endfor %}
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if TAGS_IN_INDEX and article.tags %}
|
||||
<li>
|
||||
<i class="fas fa-tag"></i>
|
||||
{% for tag in article.tags %}
|
||||
<a href="{{ SITEURL }}/{{ tag.url }}">#{{ tag }}</a>{% if not loop.last %}, {% endif %}
|
||||
{% endfor %}
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</header>
|
||||
<div class="col-sm-8">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue