From 82da261f168454cd606f4f150313844b9d4b9eea Mon Sep 17 00:00:00 2001 From: Tim Date: Sat, 7 Jun 2025 02:07:02 +0200 Subject: Add noindex,nofollow robots meta to pages --- src/chef/utils.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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] -- cgit v1.2.3