summaryrefslogtreecommitdiff
path: root/src/chef
diff options
context:
space:
mode:
authorTim <contact@bytim.eu>2025-06-07 02:07:02 +0200
committerTim <contact@bytim.eu>2025-06-07 02:07:02 +0200
commit82da261f168454cd606f4f150313844b9d4b9eea (patch)
treef6471d59358ed1f9e66be2fb88d55e24a8c84368 /src/chef
parentf030a32679e7291eeb3ec4925a6354767bed3694 (diff)
downloadchef-82da261f168454cd606f4f150313844b9d4b9eea.tar.xz
chef-82da261f168454cd606f4f150313844b9d4b9eea.zip
Add noindex,nofollow robots meta to pages
Diffstat (limited to 'src/chef')
-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 7f476a2..7ccaf88 100644
--- a/src/chef/utils.clj
+++ b/src/chef/utils.clj
@@ -11,7 +11,8 @@
[:meta {:name "viewport" :content "width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"}]
[:title title]
[:link {:rel :stylesheet :href "/static/style.css"}]
- [:meta {:http-equiv "content-type" :content "text/html; charset=utf-8"}]]
+ [: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"}]])])
(defmacro auth-only [request & body]