tag buttons layout build
This commit is contained in:
parent
1b7fb0caf9
commit
193d830d87
1 changed files with 7 additions and 3 deletions
|
|
@ -12,10 +12,14 @@
|
|||
<p>
|
||||
{{ post.data.page.excerpt }}
|
||||
</p>
|
||||
<div class="tags--container">
|
||||
{% for tag in post.data.tags %}
|
||||
{% set tagUrl %}/tags/{{ tag | slug }}/{% endset %}
|
||||
<div class="tag">
|
||||
<a href="{{ tagUrl | url }}">{{ tag }}</a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</article>
|
||||
{%- endfor -%}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue