change options parameter
This commit is contained in:
parent
abc0d93722
commit
52ddbefe1d
|
@ -5,7 +5,7 @@
|
||||||
(defn render
|
(defn render
|
||||||
"renders a template contained in the provided string, using the values in model-map
|
"renders a template contained in the provided string, using the values in model-map
|
||||||
as the model for the template."
|
as the model for the template."
|
||||||
[s model-map & [{:keys [skip-model-map-stringify?] :as options}]]
|
[s model-map & {:keys [skip-model-map-stringify?] :as options}]
|
||||||
(let [template (new JtwigTemplate s)
|
(let [template (new JtwigTemplate s)
|
||||||
context (new JtwigContext)]
|
context (new JtwigContext)]
|
||||||
(doseq [[k v] (if-not skip-model-map-stringify?
|
(doseq [[k v] (if-not skip-model-map-stringify?
|
||||||
|
|
Reference in a new issue