Style tags table
This commit is contained in:
parent
d9b6d4fbb8
commit
531a7622ee
2 changed files with 33 additions and 12 deletions
|
@ -1,9 +1,13 @@
|
|||
{% if page.tags %}
|
||||
<div class="tags">
|
||||
{% for tag in page.tags %}
|
||||
<a href="{{ site.url }}/blog/tags/{{ tag|url_encode(true) }}" class="blue">
|
||||
{{- tag -}}
|
||||
</a>
|
||||
{% endfor %}
|
||||
<div>
|
||||
<p>
|
||||
Tags:
|
||||
{% for tag in page.tags|sort %}
|
||||
<a href="{{ site.url }}/blog/tags/{{ tag|url_encode(true) }}" class="blue">
|
||||
{{- tag -}}
|
||||
</a>
|
||||
{%- if not loop.last %},{% endif %}
|
||||
{% endfor %}
|
||||
</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue