Skip to content

Commit 1ab88f5

Browse files
committed
tag test
1 parent 00c70a4 commit 1ab88f5

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

_layouts/post.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,14 @@
2323
<h1>{{ page.title }}</h1>
2424

2525
<div class="entry">
26-
<p id="post-meta">{{ tags_content }}</p>
26+
<p id="post-meta">
27+
{% if post.tags.size > 0 %}
28+
{% for post_tag in post.tags %}
29+
{{post_tag}}
30+
{% endfor %}
31+
{% endif %}
32+
{{ tags_content }}
33+
</p>
2734
{{ content }}
2835
</div>
2936

0 commit comments

Comments
 (0)