summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/serve.fnl4
1 files changed, 2 insertions, 2 deletions
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)]]
[])))]))