Path where assets are to be accessed by client
Path where assets are to be accessed by client
When true, append content-hashes to asset paths.
When true, append content-hashes to asset paths.
Local directory where assets are written
Local directory where assets are written
(asset-file path)
(asset-path path)
Asset-path function, for use in generating HTML
Asset-path function, for use in generating HTML
(element-tag kw-or-hiccup)
(html-page {:as page-props
:keys [lang title charset styles meta head body]
body-scripts :scripts/body
head-scripts :scripts/head
:or {lang "en" charset "UTF-8"}})
(html-page title page-props)
Return HTML string for title and props
Return HTML string for title and props
(meta-tag k v)
(public-path)
(read-asset path)
Returns the contents for an asset
Returns the contents for an asset
(script-tag str-or-map)
(strip-slash path)
(style-tag str-or-map)
(try-slurp file)
(write-asset! path content)
Write content
string to an asset file
Write `content` string to an asset file
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close