Hi,
Suppose
(def substitutes
[[:p#msg1] (content "Hi")
[:p#msg2] (content "Bye")])
I would like to write something like
(apply deftemplate "templateName" "template1.html"
[]
substitutes)
I hope that makes sense. Because I can't do that right now since deftemplate is a macro. substitutes would be generated at run-time of course.
Thanks.