From d67419149696a0c9bc730575bd5781b80d84f80a Mon Sep 17 00:00:00 2001 From: unwox Date: Tue, 18 Mar 2025 14:54:42 +0600 Subject: small style improvements --- bin/serve.fnl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/serve.fnl b/bin/serve.fnl index efc17de..75d3387 100644 --- a/bin/serve.fnl +++ b/bin/serve.fnl @@ -373,7 +373,7 @@ (array.concat (if (< (+ 1 radius) page) [[:a {:href (form->path 1 form)} "1"] - (if (< (+ 2 radius) page) "…" "")] + (if (< (+ 2 radius) page) [:span {} "…"] "")] []) (faccumulate [res [] i (math.max 1 (- page radius)) (math.min last-page (+ page radius))] @@ -384,7 +384,7 @@ (tostring i)]) res)) (if (< radius (- last-page page)) - [(if (< (+ 1 radius) (- last-page page)) "…" "") + [(if (< (+ 1 radius) (- last-page page)) [:span {} "…"] "") [:a {:href (form->path last-page form)} (tostring last-page)]] [])))])) -- cgit v1.2.3