style: unify post count label styling between tag and author templates
All checks were successful
Deploy Theme / deploy (push) Successful in 13s

This commit is contained in:
2026-02-20 19:38:41 +01:00
parent 2ad54e184c
commit 9275601f07

10
tag.hbs
View File

@@ -5,10 +5,14 @@
<span class="text-xs uppercase tracking-[0.3em] text-[var(--text-tertiary)] mb-4 block">Tag</span> <span class="text-xs uppercase tracking-[0.3em] text-[var(--text-tertiary)] mb-4 block">Tag</span>
<h1 class="text-6xl md:text-8xl font-bold tracking-tighter text-[var(--brand-primary)] mb-4">{{name}}</h1> <h1 class="text-6xl md:text-8xl font-bold tracking-tighter text-[var(--brand-primary)] mb-4">{{name}}</h1>
{{#if description}} {{#if description}}
<p class="mt-4 text-xl md:text-2xl text-[var(--text-secondary)] max-w-2xl mx-auto font-serif italic italic opacity-90">{{description}}</p> <p class="mt-4 text-xl md:text-2xl text-[var(--text-secondary)] max-w-2xl mx-auto font-serif italic italic leading-relaxed opacity-90 mb-8">{{description}}</p>
{{else}}
<p class="mt-4 text-xl md:text-2xl text-[var(--text-secondary)] max-w-2xl mx-auto font-serif italic italic opacity-90">A collection of {{plural ../pagination.total empty='posts' singular='% post' plural='% posts'}}</p>
{{/if}} {{/if}}
<div class="flex items-center justify-center text-sm font-medium uppercase tracking-[0.2em] text-[var(--text-tertiary)]">
<span class="inline-block w-8 h-px bg-[var(--bg-tertiary)] mr-4"></span>
{{plural ../pagination.total empty='No posts' singular='% post' plural='% posts'}}
<span class="inline-block w-8 h-px bg-[var(--bg-tertiary)] ml-4"></span>
</div>
</header> </header>
{{/tag}} {{/tag}}