diff options
Diffstat (limited to 'pages/shop/index.fnl')
| -rw-r--r-- | pages/shop/index.fnl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pages/shop/index.fnl b/pages/shop/index.fnl index 63a1cc9..2486bc3 100644 --- a/pages/shop/index.fnl +++ b/pages/shop/index.fnl @@ -115,6 +115,7 @@ [:a {:href item-url} [:div {:class "shop-item-imgs"} [:img {:class "shop-item-img" + :data-parser "image" :src (.. "/static/files/" (. product.image1) "-thumbnail.jpg")}] (table.concat (let [without-videos @@ -130,11 +131,11 @@ "width: calc(100% / " (# without-videos) ");" "left: calc(100% / " (# without-videos) " * " (- idx 1) ")")}]))))]] [:a {:href item-url} - [:h3 {:class "shop-item-title"} product.title]] + [:h3 {:class "shop-item-title" :data-parser "title"} product.title]] (templates.product-overview product "mb-0-25 font-size-0-875") [:div {:class "shop-item-price"} (templates.add-to-basket-form product basket "" redirect-url)] - [:div {} product.short-description]])) + [:div {:data-parser "description"} product.short-description]])) (fn content [db products page total filters basket agreed-to-cookies? authenticated?] (local redirect-url (filters-path page filters)) |
