feat(post): add tags next to the post date
This commit is contained in:
parent
dccf1b85b3
commit
f3c13cb596
|
@ -6,6 +6,13 @@
|
||||||
<header>
|
<header>
|
||||||
<time datetime="{{ page.date|date('Y-m-d') }}">
|
<time datetime="{{ page.date|date('Y-m-d') }}">
|
||||||
Posted on {{ page.date|date('jS F Y') -}}
|
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>
|
</time>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue