summaryrefslogtreecommitdiff
path: root/templates.fnl
diff options
context:
space:
mode:
authorunwox <me@unwox.com>2025-10-30 21:05:19 +0600
committerunwox <me@unwox.com>2025-10-30 21:05:19 +0600
commitd5c0dd24c01c3406af3e8f8f166cb629b8bbf811 (patch)
treeb14bf491558550b28e39a01b9a5b8a44d8b27886 /templates.fnl
parent5ea0e8309eaed8d0349696504e4a8b78997058b0 (diff)
improve navigation on mobiles
Diffstat (limited to 'templates.fnl')
-rw-r--r--templates.fnl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates.fnl b/templates.fnl
index 542b898..e3f71bb 100644
--- a/templates.fnl
+++ b/templates.fnl
@@ -54,7 +54,7 @@
[:a {:href "https://t.me/whitetoadtea"} "телеграм"]]]))
(fn basket-item [item redirect-url]
- (local item-link (.. "/shop/" item.name))
+ (local item-link (.. "/shop/" item.name "#content"))
(HTML
[:div {:class "basket-item"}
@@ -199,7 +199,7 @@
[:div {:class "order mb-0-5"}
(table.concat
(icollect [_ item (ipairs order-lines)]
- (let [item-link (.. "/shop/" item.name)]
+ (let [item-link (.. "/shop/" item.name "#content")]
(HTML
[:div {:class "order-line"}
[:div {:class "order-line-image"}