summaryrefslogtreecommitdiff
path: root/pages/shop/_product/index.fnl
diff options
context:
space:
mode:
authorunwox <me@unwox.com>2025-12-30 20:45:24 +0600
committerunwox <me@unwox.com>2025-12-30 20:45:24 +0600
commit8372560de77d180ccd12a7992615ba773b9ddce1 (patch)
treeb5f42c8c2ecbc1307496e2b848529028bc3c7f9a /pages/shop/_product/index.fnl
parent048b41ebadfd455ebe7e3b83d49d4fce842e314d (diff)
small improvementsHEADmaster
Diffstat (limited to 'pages/shop/_product/index.fnl')
-rw-r--r--pages/shop/_product/index.fnl5
1 files changed, 1 insertions, 4 deletions
diff --git a/pages/shop/_product/index.fnl b/pages/shop/_product/index.fnl
index 6903144..54ed076 100644
--- a/pages/shop/_product/index.fnl
+++ b/pages/shop/_product/index.fnl
@@ -62,10 +62,7 @@
;; JS would require storing "back URL" in query parameter (which will make
;; URLs ugly and also hurt SEO) or in a cookie (which is brittle)
;; TODO: also add <noscript> version of this link
- [:div {:class "back"} [:a {:href "#"
- :onclick "history.length > 1
- ? history.back()
- : location.assign('/shop')"}
+ [:div {:class "back"} [:a {:href "/shop"}
"⟵ Обратно к списку"]]
[:div {:class "product-page-layout"}