feat: move categories to tags

This commit is contained in:
Devin Haska 2024-02-17 00:10:43 -08:00
parent b6c9a2b75c
commit 327b38f35b
56 changed files with 125 additions and 136 deletions

View file

@ -9,9 +9,9 @@ layout: base
{{ date | formatDate("MMMM D, YYYY") }}</time>
<h1>{{ title }}</h1>
<ul class="[ categories ] [ flex gap-1 list-none p-0 ]">
{% for category in categories %}
{% for tag in tags | filter(["post"]) %}
<li>
<a class="[ flex ]" href="/tags/{{ category }}">{{ category }}</a>
<a class="[ flex ]" href="/tags/{{ tag | slugify }}">{{ tag }}</a>
</li>
{% endfor %}
</ul>