Namespaces

 
1.0.0-SNAPSHOT permalink Arrow_down_16x16
  • (deftemplate name source args & forms)
Defines a template as a function that returns a seq of strings.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source net/cgrand/enlive_html.clj:583 top

(defmacro deftemplate
 "Defines a template as a function that returns a seq of strings." 
 [name source args & forms] 
  `(def ~name (template ~source ~args ~@forms)))
Vars in net.cgrand.enlive-html/deftemplate: defmacro name source concat list seq
Used in 0 other vars

Comments top

No comments for deftemplate. Log in to add a comment.