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>
|
<p>
|
||||||
{{ post.data.page.excerpt }}
|
{{ post.data.page.excerpt }}
|
||||||
</p>
|
</p>
|
||||||
|
<div class="tags--container">
|
||||||
{% for tag in post.data.tags %}
|
{% for tag in post.data.tags %}
|
||||||
{% set tagUrl %}/tags/{{ tag | slug }}/{% endset %}
|
{% set tagUrl %}/tags/{{ tag | slug }}/{% endset %}
|
||||||
<a href="{{ tagUrl | url }}">{{ tag }}</a>
|
<div class="tag">
|
||||||
{% endfor %}
|
<a href="{{ tagUrl | url }}">{{ tag }}</a>
|
||||||
|
</div>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
</article>
|
</article>
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue