omit 'pages' from tag lists
This commit is contained in:
parent
ba3a9c95db
commit
a9ab7eb6ce
2 changed files with 3 additions and 1 deletions
|
@ -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 %}
|
|
@ -499,7 +499,7 @@ h1 {
|
|||
}
|
||||
.header-meta {
|
||||
font-size: var(--s-1);
|
||||
> * + *::before {
|
||||
> * + *:not(:empty)::before {
|
||||
content: "-";
|
||||
padding: 0 0.5ch;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue