From 3fac776752322761404cd6150eacfc3ac0cf5e72 Mon Sep 17 00:00:00 2001 From: unwox Date: Tue, 25 Nov 2025 22:28:15 +0600 Subject: small navigation improvements --- templates.fnl | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'templates.fnl') diff --git a/templates.fnl b/templates.fnl index 1ae1ebc..0e4c1bb 100644 --- a/templates.fnl +++ b/templates.fnl @@ -20,6 +20,23 @@ (.. "Уютный чайный клуб в Омске: " "ул. Пушкина, д. 133/9, этаж 2. " "Посещение по предварительной договоренности."))}] + (if title + (HTML [:meta {:property "og:title" :content title}]) + "") + (if description + (HTML [:meta {:property "og:description" :content description}]) + "") + [:meta {:property "og:type" :content "website"}] + [:meta {:property "og:image" + :content "https://whitetoad.ru/static/og:image.png"}] + [:meta {:property "twitter:image" + :content "https://whitetoad.ru/static/og:image.png"}] + [:meta {:property "vk:image" + :content "https://whitetoad.ru/static/og:image.png"}] + [:meta {:property "og:image:width" :content "1200"}] + [:meta {:property "og:image:height" :content "630"}] + [:meta {:property "twitter:card" :content "summary_large_image"}] + [:meta {:property "og:locale" :content "ru_RU"}] [:style {} [:NO-ESCAPE (read-file "static/style.css")]] [:link {:rel "icon" :href "/static/favicon.svg" :type "image/svg+xml"}]] [:body {} @@ -33,7 +50,7 @@ (HTML [:section {} - [:div {:class "logo"} + [:div {:class "logo logo-bg"} (if authenticated? (HTML [:img {:class "logo-glasses" :src "/static/glasses.png" :alt "Солнцезащитные очки"}]) -- cgit v1.2.3