summaryrefslogtreecommitdiff
path: root/src/chef/utils.clj
diff options
context:
space:
mode:
authorTim <contact@bytim.eu>2025-06-11 19:00:03 +0200
committerTim <contact@bytim.eu>2025-06-11 19:00:03 +0200
commit229299146376a2b847f4fe3f331efbd26c0abc70 (patch)
treedf900c12b14f65dc1bbe096da16ca40bfdabaf11 /src/chef/utils.clj
parent25d30f3c036f47a62ea6ebdc96496d836ebd4ef7 (diff)
downloadchef-229299146376a2b847f4fe3f331efbd26c0abc70.tar.xz
chef-229299146376a2b847f4fe3f331efbd26c0abc70.zip
Add selection for end user to calculate ingredients for x persons/portions
Diffstat (limited to 'src/chef/utils.clj')
-rw-r--r--src/chef/utils.clj3
1 files changed, 2 insertions, 1 deletions
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]))