feat(post): add tags next to the post date

This commit is contained in:
Oliver Davies 2022-07-20 18:00:00 +01:00
parent dccf1b85b3
commit f3c13cb596

View file

@ -6,6 +6,13 @@
<header>
<time datetime="{{ page.date|date('Y-m-d') }}">
Posted on {{ page.date|date('jS F Y') -}}
{% if page.tags %}
in
{% for tag in page.tags %}
<a class="link" href="/blog/tags/{{ tag }}">{{ tag }}</a>
{%- if not loop.last %},{% endif %}
{% endfor %}
{% endif %}
</time>
</header>