mostly reorganized
This commit is contained in:
@@ -8,7 +8,11 @@
|
||||
[cljs-time.format :as format]))
|
||||
|
||||
(defn active-when= [active-page candidate]
|
||||
(when (= active-page candidate) " active"))
|
||||
(when (= active-page candidate) " is-active"))
|
||||
|
||||
(defn active-when [active-page f & rest]
|
||||
|
||||
(when (apply f (into [active-page] rest)) " is-active"))
|
||||
|
||||
(def login-url
|
||||
(let [client-id "264081895820-0nndcfo3pbtqf30sro82vgq5r27h8736.apps.googleusercontent.com"
|
||||
|
||||
Reference in New Issue
Block a user