fhd/clostache — pull request #14 by michaelklishin (2012-04-04 18:26:29+00:00)
Title: Support classpath resource rendering

Given that src/resources/templates/hello.mustache template exists and classpath is set up to include it
(for example, via Leiningen's :resource-paths key), the following code will render a Mustache template from
that file:

(clostache.parser/render-resource "templates/hello.mustache" {:name "Michael"})

After giving it some thought I decided to not use protocols. Multi-arity functions with
protocols are possible but may lead to really frustrating compiler error messages and
most people have no idea it is possible at all.

So, lets just introduce a new function.