feat(website): generate static category pages

This commit is contained in:
Vinta Chen
2026-05-02 23:31:08 +08:00
parent 429c9b3d12
commit e11afd1730
7 changed files with 399 additions and 12 deletions
+6 -1
View File
@@ -215,7 +215,12 @@
{{ subcat.name }}
</button>
{% endfor %} {% for cat in entry.categories %}
<button class="tag" data-value="{{ cat }}">{{ cat }}</button>
<a
class="tag"
href="{{ category_urls[cat] }}"
data-value="{{ cat }}"
>{{ cat }}</a
>
{% endfor %}
<button class="tag tag-group" data-value="{{ entry.groups[0] }}">
{{ entry.groups[0] }}