Restyle tag labels

They now look like actual tags
This commit is contained in:
Gergely Polonkai
2015-04-28 15:20:15 +02:00
parent 1dbb08d00c
commit 2336e7df0b
3 changed files with 94 additions and 12 deletions

View File

@@ -1 +1,10 @@
<a href="{{tag | prepend: '/blog/tag/' | prepend: site.baseurl}}" class="label label-default">{{tag}}</a>
{% capture tagsize %}{{post.tags | size}}{% endcapture %}
{% if tagsize != '0' %}
<footer>
<p class="article-tags">
{% for tag in post.tags %}
<a href="{{tag | prepend: '/blog/tag/' | prepend: site.baseurl}}" class="tag-label">{{tag}}</a>
{% endfor %}
</p>
</footer>
{% endif %}