option for tags
This commit is contained in:
parent
b90c1c8de9
commit
ce8ece5fc2
4 changed files with 13 additions and 3 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue