Include tags in the posts list
This commit is contained in:
parent
bedb641e64
commit
b1f5f39735
|
@ -14,6 +14,19 @@
|
|||
{{ post.date.toLocaleDateString("en-US") }}
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="tags">
|
||||
<dt>
|
||||
<svg class="icon">
|
||||
<use href="/images/feather-sprite.svg#tag" />
|
||||
</svg>
|
||||
Tags
|
||||
</dt>
|
||||
{% for tag in post.data.tags %}
|
||||
{% if tag != "posts" %}
|
||||
<dd><a href="{{ "/posts/tags/" + (tag | slugify) | url }}">{{ tag }}</a></dd>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</dl>
|
||||
</div>
|
||||
<p>{{ post.data.description }}</p>
|
||||
</section>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
gap: 2em;
|
||||
column-gap: 2em;
|
||||
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue