From 229299146376a2b847f4fe3f331efbd26c0abc70 Mon Sep 17 00:00:00 2001 From: Tim Date: Wed, 11 Jun 2025 19:00:03 +0200 Subject: Add selection for end user to calculate ingredients for x persons/portions --- src/chef/utils.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/chef/utils.clj') diff --git a/src/chef/utils.clj b/src/chef/utils.clj index e2725ce..22797cb 100644 --- a/src/chef/utils.clj +++ b/src/chef/utils.clj @@ -14,7 +14,8 @@ [:link {:rel :stylesheet :href "/static/style.css"}] [:meta {:http-equiv "content-type" :content "text/html; charset=utf-8"}] [:meta {:name "robots" :content "noindex,nofollow"}]] - (apply conj [:body] content [[:script {:src "/static/htmx.js"}]])]) + (apply conj [:body] content [[:script {:src "/static/htmx.js"}] + [:script {:src "/static/hyperscript.js"}]])]) (defmacro auth-only [request & body] `(if (some? (get-in ~request [:session :oauth-token])) -- cgit v1.2.3