(conj-some)
(conj-some coll)
(conj-some coll & xs)
Like conj, but ignores xs that are nil.
Like conj, but ignores xs that are nil.
(enlive->hiccup node-or-nodes)
Transform enlive style html to hiccup. Can take (and return) either a node or a sequence of nodes.
Transform enlive style html to hiccup. Can take (and return) either a node or a sequence of nodes.
(file->url f)
Converts a java.io.File to a java.net.URL.
Converts a java.io.File to a java.net.URL.
(filter-html-elems pred html-elems)
Recursively walks a sequence of enlive-style html elements depth first and returns a flat sequence of the elements where (pred elem)
Recursively walks a sequence of enlive-style html elements depth first and returns a flat sequence of the elements where (pred elem)
(hic= x & xs)
Tests whether the xs are equivalent hiccup.
Tests whether the xs are equivalent hiccup.
(parse-post-date file-name date-fmt)
Parses the post date from the post's file name and returns the corresponding java date object
Parses the post date from the post's file name and returns the corresponding java date object
(re-pattern-from-exts exts)
Creates a properly quoted regex pattern for the given file extensions
Creates a properly quoted regex pattern for the given file extensions
(trimmed-html-snippet html-string)
Creates an enlive-snippet from html-string
then removes
the newline nodes
Creates an enlive-snippet from `html-string` then removes the newline nodes
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close