omit 'pages' from tag lists

This commit is contained in:
Joshua Seigler 2025-06-23 10:06:33 -04:00
parent ba3a9c95db
commit a9ab7eb6ce
2 changed files with 3 additions and 1 deletions

View file

@ -1,11 +1,13 @@
{% macro tagList(tags) %}
<span class="tags" style="--totalTags:{{ collections.categories | dictsort | length }}">
{%- for tag in tags -%}
{%- if tag in collections.categories -%}
<a
class="tag"
style="--tagIndex:{{ collections.categories[tag].id }}"
href="/tags/{{ tag | slugify }}"
>{{ tag }}</a>
{%- endif %}
{% endfor -%}
</span>
{% endmacro %}

View file

@ -499,7 +499,7 @@ h1 {
}
.header-meta {
font-size: var(--s-1);
> * + *::before {
> * + *:not(:empty)::before {
content: "-";
padding: 0 0.5ch;
}