From 47af967213c48565adadc68d43fc572159c31ed9 Mon Sep 17 00:00:00 2001 From: unwox Date: Mon, 7 Oct 2024 20:19:12 +0600 Subject: add clubcha parser --- bin/serve.fnl | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'bin/serve.fnl') diff --git a/bin/serve.fnl b/bin/serve.fnl index 67c3d7d..f98a5ff 100644 --- a/bin/serve.fnl +++ b/bin/serve.fnl @@ -37,17 +37,25 @@ (fn site-name-template [name] (if (= name "ipuer") - [:a {:class "site-icon" :href "https://ipuer.ru"} + [:a {:class "site-icon" :href "https://ipuer.ru" + :alt "Логотип Институт чай пуэр"} [:img {:src "/static/ipuer.jpg"}] "Институт чая пуэр"] (= name "artoftea") - [:a {:class "site-icon" :href "https://artoftea.ru"} + [:a {:class "site-icon" :href "https://artoftea.ru" + :alt "Логотип Art of tea"} [:img {:src "/static/artoftea.png"}] "Art of tea"] (= name "ozchai") - [:a {:class "site-icon" :href "https://ozchai.ru"} + [:a {:class "site-icon" :href "https://ozchai.ru" + :alt "Логотип #OZCHAI"} [:img {:src "/static/ozchai.ico"}] "Чайная #OZCHAI"] + (= name "clubcha") + [:a {:class "site-icon" :href "https://clubcha.ru" + :alt "Логотип Железный Феникс"} + [:img {:src "/static/clubcha.png"}] + "Железный Феникс"] "")) (fn item-template [product] -- cgit v1.2.3