fix(template): show group tag before built-in source tag

Reorder tag buttons so the group tag appears before the source type tag,
giving it higher visual priority in the entry row.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Vinta Chen
2026-03-22 15:10:40 +08:00
parent ec2928b510
commit 73f77039f2

View File

@@ -178,7 +178,15 @@
<button class="tag" data-type="cat" data-value="{{ cat }}">
{{ cat }}
</button>
{% endfor %} {% if entry.source_type == 'Built-in' %}
{% endfor %}
<button
class="tag tag-group"
data-type="group"
data-value="{{ entry.groups[0] }}"
>
{{ entry.groups[0] }}
</button>
{% if entry.source_type == 'Built-in' %}
<button
class="tag tag-source"
data-type="cat"
@@ -187,13 +195,6 @@
Built-in
</button>
{% endif %}
<button
class="tag tag-group"
data-type="group"
data-value="{{ entry.groups[0] }}"
>
{{ entry.groups[0] }}
</button>
</td>
<td class="col-arrow"><span class="arrow">&rarr;</span></td>
</tr>