summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
Diffstat (limited to 'pages')
-rw-r--r--pages/index.fnl4
-rw-r--r--pages/shop/_product/index.fnl2
2 files changed, 3 insertions, 3 deletions
diff --git a/pages/index.fnl b/pages/index.fnl
index a7761a2..88cdca7 100644
--- a/pages/index.fnl
+++ b/pages/index.fnl
@@ -25,8 +25,8 @@
(let [chosen (. list (math.random (# list)))]
(HTML
[:div {}
- [:a {:href (.. "static/" chosen.name ".webp") :target "_blank"} ""]
- [:img {:src (.. "static/" chosen.name "-p.webp") :alt chosen.alt}]])))
+ [:a {:href (.. "static/" chosen.name ".webp") :target "_blank"}
+ [:img {:src (.. "static/" chosen.name "-p.webp") :alt chosen.alt}]]])))
(fn content [authenticated?]
[(HTML
diff --git a/pages/shop/_product/index.fnl b/pages/shop/_product/index.fnl
index b4df0e5..cb451b7 100644
--- a/pages/shop/_product/index.fnl
+++ b/pages/shop/_product/index.fnl
@@ -86,7 +86,7 @@
[:img {:class "product-page-img-mobile mb-1"
:src (.. link "-thumbnail.jpg")}]]))
(if (not (lib.empty? product.description))
- (HTML [:div {:class "mb-1"} "***"])
+ (HTML [:div {:class "product-page-delimiter mb-1"} "***"])
"")
(if (not (lib.empty? product.description))
(HTML [:div {} [:NO-ESCAPE (text->html product.description)]])