From ee145fffe6a755d0f2edbc9654ce26f0085615ff Mon Sep 17 00:00:00 2001 From: Jon Seager Date: Sun, 22 Feb 2026 10:17:14 +0000 Subject: [PATCH] feat: add share button to all detail pages Copy current URL to clipboard with toast feedback on brew, roast, roaster, bag, cup, cafe, and gear detail pages. --- templates/pages/bag.html | 1 + templates/partials/detail_cards.html | 35 +++++++++------------------- 2 files changed, 12 insertions(+), 24 deletions(-) diff --git a/templates/pages/bag.html b/templates/pages/bag.html index 7993d4d..27716a3 100644 --- a/templates/pages/bag.html +++ b/templates/pages/bag.html @@ -114,6 +114,7 @@
+ {{ detail::share_button() }} {% if !bag.closed %} {% endmacro %} -{% macro share_script() %} - -{% endmacro %} - {% macro coffee_card(roast_name, roaster_name, origin, origin_flag, region, producer, process, tasting_notes, roaster_slug, roast_slug) %}

Coffee

@@ -202,6 +182,13 @@
+