summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorunwox <me@unwox.com>2024-11-14 23:47:47 +0600
committerunwox <me@unwox.com>2024-11-14 23:54:25 +0600
commit43e4bcb301ca469427e5022e510fb06e94225117 (patch)
tree813da522b5eff1fc4695913348f66164c87ce4b8 /bin
parent5b13a916af68a8d7edb220b9b97911827b61d6e2 (diff)
improve semantics on listing pages
Diffstat (limited to 'bin')
-rw-r--r--bin/serve.fnl2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/serve.fnl b/bin/serve.fnl
index 420100e..4c2253e 100644
--- a/bin/serve.fnl
+++ b/bin/serve.fnl
@@ -309,7 +309,7 @@
:alt product.title} ""]]
(site-name-template product.site)
[:a {:href link :style "text-decoration: none;" :rel "nofollow"}
- [:NO-ESCAPE (.. "<h2>" (unescape product.title) "</h2>")]]
+ [:NO-ESCAPE (.. "<div class=\"title\">" (unescape product.title) "</div>")]]
[:div {:class "price"}
(if product.price (.. (str.format-price product.price) "₽") "")
(if (< 0 product.weight)