diff options
| author | unwox <me@unwox.com> | 2025-03-18 14:54:42 +0600 |
|---|---|---|
| committer | unwox <me@unwox.com> | 2025-03-18 14:54:42 +0600 |
| commit | d67419149696a0c9bc730575bd5781b80d84f80a (patch) | |
| tree | 9c3664047f164aadc6a1da4cb503920bbd3310c2 /bin | |
| parent | 32acdca7fb8180e7f2aec832d93baa7491e8954a (diff) | |
small style improvements
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/serve.fnl | 4 |
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)]] [])))])) |
