summaryrefslogtreecommitdiff
path: root/bin/serve.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'bin/serve.fnl')
-rw-r--r--bin/serve.fnl4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/serve.fnl b/bin/serve.fnl
index c22becb..b498ece 100644
--- a/bin/serve.fnl
+++ b/bin/serve.fnl
@@ -504,6 +504,7 @@
texts.meta-title
(.. form.query " | " texts.meta-title)))
(local canonical-url (str.trim (.. "https://everytea.ru" path) "/"))
+
[:html {:lang "ru-RU"}
[:head {}
[:meta {:charset "utf-8"}]
@@ -627,4 +628,5 @@
(must (luna.router.route "GET /robots.txt" robots-handler))
(must (luna.router.static "GET /static/" "static/"))
-(must (luna.repl (fn [code] (fennel.eval code {:env _G}))))
+(when luna.debug
+ (must (luna.evalfn (fn [code] (fennel.eval code {:env _G})))))