Liking cljdoc? Tell your friends :D

pallet.template

Template file writing

Template file writing
raw docstring

apply-templatesclj

(apply-templates template-fn args)
source

deftemplatecljmacro

(deftemplate template [& args] m)
source

find-templateclj

(find-template path session)

Find a template for the specified path, for application to the given node. Templates may be specialised.

Find a template for the specified path, for application to the given node.
Templates may be specialised.
sourceraw docstring

get-resourceclj

(get-resource path)

Loads a resource. Returns a URI.

Loads a resource. Returns a URI.
sourceraw docstring

interpolate-templateclj

(interpolate-template path values session)

Interpolate the given template.

Interpolate the given template.
sourceraw docstring

path-componentsclj

(path-components path)

Split a resource path into path, basename and extension components.

Split a resource path into path, basename and extension components.
sourceraw docstring

pathnameclj

(pathname path file ext)

Build a pathname from a list of path and filename parts. Last part is assumed to be a file extension.

'The name of a resource is a '/'-separated path name that identifies the resource.'

Build a pathname from a list of path and filename parts.  Last part is
assumed to be a file extension.

'The name of a resource is a '/'-separated path name that identifies the
resource.'
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close