summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorunwox <me@unwox.com>2024-09-27 16:47:38 +0600
committerunwox <me@unwox.com>2024-09-27 16:47:38 +0600
commitf58c176e592475e2b16e26f86548551ab27d6c9a (patch)
tree4f95527832e5f8f38a5f11349065a5c4e914b6c2 /bin
parentdd449357f502dbe9ca4487d4b06a06ee4e597146 (diff)
add missing site badges
Diffstat (limited to 'bin')
-rw-r--r--bin/serve.fnl10
1 files changed, 9 insertions, 1 deletions
diff --git a/bin/serve.fnl b/bin/serve.fnl
index f4ef3c7..0368bed 100644
--- a/bin/serve.fnl
+++ b/bin/serve.fnl
@@ -36,10 +36,18 @@
(fn site-name-template [name]
(if
- (= name "ipuer.ru")
+ (= name "ipuer")
[:a {:class "site-icon" :href "https://ipuer.ru"}
[:img {:src "/static/ipuer.jpg"}]
"Институт чая пуэр"]
+ (= name "artoftea")
+ [:a {:class "site-icon" :href "https://artoftea.ru"}
+ [:img {:src "/static/artoftea.png"}]
+ "Art of tea"]
+ (= name "ozchai")
+ [:a {:class "site-icon" :href "https://ozchai.ru"}
+ [:img {:src "/static/ozchai.ico"}]
+ "Чайная #OZCHAI"]
""))
(fn item-template [product]