option for tags

This commit is contained in:
Pete 2016-07-27 16:46:42 -05:00
parent b90c1c8de9
commit ce8ece5fc2
4 changed files with 13 additions and 3 deletions

View file

@ -26,14 +26,15 @@ subtitle: This is where I will tell my friends way too much about me
<a href="{{ post.url | prepend: site.baseurl }}" class="post-read-more">[Read&nbsp;More]</a>
</div>
{% if post.tags.size > 0 %}
{% if site.show-tags %}
<div class="blog-tags">
Tags:
{% for tag in post.tags %}
<a href="/tag/{{ tag }}">{{ tag }}</a>
<a href="/tag/{{ tag }}">{{ tag }}</a>
{% endfor %}
</div>
{% endif %}
</article>
{% endfor %}
</div>