diff options
Diffstat (limited to 'pages/shop/index.fnl')
| -rw-r--r-- | pages/shop/index.fnl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/shop/index.fnl b/pages/shop/index.fnl index 08770d0..0b9336e 100644 --- a/pages/shop/index.fnl +++ b/pages/shop/index.fnl @@ -70,7 +70,7 @@ "left: calc(100% / " (# images) " * " (- idx 1) ")")}])))]] [:a {:href item-url} [:h3 {:class "shop-item-title"} product.title]] [:div {:style "font-style: italic; margin-bottom: 0.25rem;"} - (or (dicts.label dicts.tea-type product.type) product.type) ", " + (or (dicts.label dicts.product-type product.type) product.type) ", " (if (= product.packaging "piece") (HTML [:strong {} product.price-per "₽ за 1 шт."]) (HTML [:strong {} (* 50 product.price-per) "₽ за 50 гр. "]))] |
