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) %} {% macro tagList(tags) %}
<span class="tags" style="--totalTags:{{ collections.categories | dictsort | length }}"> <span class="tags" style="--totalTags:{{ collections.categories | dictsort | length }}">
{%- for tag in tags -%} {%- for tag in tags -%}
{%- if tag in collections.categories -%}
<a <a
class="tag" class="tag"
style="--tagIndex:{{ collections.categories[tag].id }}" style="--tagIndex:{{ collections.categories[tag].id }}"
href="/tags/{{ tag | slugify }}" href="/tags/{{ tag | slugify }}"
>{{ tag }}</a> >{{ tag }}</a>
{%- endif %}
{% endfor -%} {% endfor -%}
</span> </span>
{% endmacro %} {% endmacro %}

View file

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