fix: correct recipe count to 425, scope site count to recipes section

README had 426 (off by one due to _index.md). Homepage and footer now
use where .Site.RegularPages "Section" "recipes" to exclude non-recipe
pages like /imprint/ from the count.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-07 20:05:20 +02:00
parent 5461b764f4
commit 5023752f58
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
<span class="font-serif text-[32px] font-medium tracking-[-0.01em] leading-none text-ink">Bar Pivoine</span>
</a>
<div class="w-full h-px bg-warm/10 mb-4"></div>
{{- $count := len .Site.RegularPages -}}
{{- $count := len (where .Site.RegularPages "Section" "recipes") -}}
<p class="text-ink-mute text-sm leading-relaxed">A field guide to the good pour. {{ $count }} cocktail recipes, low light, honest measures, no garnish left behind.</p>
<p class="font-mono text-[11px] text-ink-faint leading-relaxed mt-3">Recipes from the <a href="https://www.kaggle.com/datasets/aadyasingh55/cocktails" class="underline underline-offset-2 hover:text-ink-soft transition-colors duration-[180ms]">open cocktail dataset</a> · imagery via FLUX.2 pro</p>
</div>