diff options
| author | unwox <me@unwox.com> | 2025-11-25 22:28:15 +0600 |
|---|---|---|
| committer | unwox <me@unwox.com> | 2025-12-15 11:26:39 +0600 |
| commit | 3fac776752322761404cd6150eacfc3ac0cf5e72 (patch) | |
| tree | c19874440fe87cada559af5c2572b98a5ff5b907 /templates.fnl | |
| parent | 4edb2d7d0f9b5d1ff730599d07e99aabb7f4b39c (diff) | |
small navigation improvements
Diffstat (limited to 'templates.fnl')
| -rw-r--r-- | templates.fnl | 19 |
1 files changed, 18 insertions, 1 deletions
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 "Солнцезащитные очки"}]) |
