From bb7f4d9b86bda740a01751a2e94c5bb1459c159d Mon Sep 17 00:00:00 2001
From: dhonus
Date: Sun, 14 Jan 2024 21:35:59 +0100
Subject: [PATCH] remove the recipe button from sites without a recipe...
---
themes/bean/layouts/_default/single.html | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/themes/bean/layouts/_default/single.html b/themes/bean/layouts/_default/single.html
index 7cbec44..bafad36 100644
--- a/themes/bean/layouts/_default/single.html
+++ b/themes/bean/layouts/_default/single.html
@@ -23,9 +23,11 @@ {{ strings.Title .Title }}
{{ .WordCount }} Words - reading time: {{ math.Round (div (countwords .Content) 180.0) }} minutes.
-
-
-
+ {{ if .Params.tags }}
+
+
+
+ {{ end }}