option for tags
This commit is contained in:
@ -31,9 +31,13 @@ show-avatar: false
|
||||
|
||||
<div class="blog-tags">
|
||||
Tags:
|
||||
{% if site.show-tags %}
|
||||
{% for tag in post.tags %}
|
||||
<a href="/tag/{{ tag }}">{{ tag }}</a>
|
||||
<a href="/tag/{{ tag }}">{{ tag }}</a>
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
{{ post.tags | join: ", " }}
|
||||
{% endif %}
|
||||
</div>
|
||||
</article>
|
||||
{% endif %}
|
||||
|
Reference in New Issue
Block a user