diff options
Diffstat (limited to 'bin/serve.fnl')
| -rw-r--r-- | bin/serve.fnl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/serve.fnl b/bin/serve.fnl index 9ebd0e8..4f42cdb 100644 --- a/bin/serve.fnl +++ b/bin/serve.fnl @@ -439,7 +439,6 @@ db (.. "spellfix:" form.query) #(spellfix.guess form.query)) nil)) - [:html {:lang "ru-RU"} [:head {} [:meta {:charset "utf-8"}] @@ -449,6 +448,8 @@ [:link {:rel "icon" :href "/static/favicon.png"}] [:link {:rel "preload" :fetchpriority "high" :as "image" :href "/static/logo-hor.svg" :type "image/svg+xml"}] + [:link {:rel "canonical" + :href (str.trim (.. "https://everytea.ru" path) "/")}] [:title {} (if (str.empty? form.query) texts.meta-title (.. form.query " | " texts.meta-title))] |
