mirror of
https://github.com/vinta/awesome-python.git
synced 2026-03-25 05:33:05 +08:00
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:
@@ -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">→</span></td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user