From c0267804602e8aeb11913e8ca7129fffaaf94ee4 Mon Sep 17 00:00:00 2001 From: june Date: Sat, 16 Aug 2025 14:58:47 +1200 Subject: [PATCH] Flavour text for showing recipe counts per tag --- src/pages/tags/[name].astro | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pages/tags/[name].astro b/src/pages/tags/[name].astro index 84159f3..1d60ca2 100644 --- a/src/pages/tags/[name].astro +++ b/src/pages/tags/[name].astro @@ -8,6 +8,10 @@ const recipes = await client.getRecipesOfTag(name) // todo redir to 404 if not f --- +

+ {recipes.length} { recipes.length == 1 ? "Recipe" : "Recipes" } with: {name} +

+
{ recipes.map(r => (