Fix pagination #27
Why the hell does a class vector not work? https://github.com/weavejester/hiccup/blob/master/src/hiccup/compiler.clj#L76
This commit is contained in:
parent
8e75c00a8e
commit
10fd87774b
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
|||
|
||||
(defn page [number is-current? additional-class content]
|
||||
(h/html
|
||||
[:li {:class (cond-> ["page-item"] is-current? (conj additional-class))}
|
||||
[:li {:class (cond-> "page-item" is-current? (str " " additional-class))}
|
||||
[:a.page-link {:href (str "/page/" number)} content]]))
|
||||
|
||||
(defn dots []
|
||||
|
|
Loading…
Reference in a new issue