Back

render-file (clj)

(source)

function

(render-file filename-or-url context-map & [{:keys [cache custom-resource-path url-stream-handler], :or {cache (clojure.core/deref cache?), custom-resource-path *custom-resource-path*, url-stream-handler *url-stream-handler*}, :as opts}])
Parses files if there isn't a memoized post-parse vector ready to go, renders post-parse vector with passed context-map regardless. Double-checks last-modified on files. Uses classpath for filename-or-url path

Examples