Skip to content

Commit 7621fa1

Browse files
committed
standardize tags with a component
1 parent 97f8bd1 commit 7621fa1

2 files changed

Lines changed: 1 addition & 9 deletions

File tree

_layouts/home.html

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,7 @@ <h2 class="mb-3 font-serif text-[1.5rem] leading-[0.98] tracking-[-0.03em]">
4545

4646
<!-- tags -->
4747
{% if post.tags %}
48-
<div class="font-mono text-[0.66rem] uppercase tracking-[0.08em] text-red-600">
49-
{% for tag in post.tags %}
50-
<span>{{ tag }}</span>
51-
{% unless forloop.last %}
52-
<span class="text-gray-500"> · </span>
53-
{% endunless %}
54-
{% endfor %}
55-
</div>
48+
{% include tags.html items=post.tags %}
5649
{% endif %}
5750

5851
</article>

_layouts/notes.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,3 @@ <h2 class="mb-1.5 font-sans text-[1.4rem] font-serif leading-[1] tracking-[-0.02
6363
</div>
6464
{% endif %}
6565
</section>
66-

0 commit comments

Comments
 (0)