Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Clojure Library for Google's Closure Templates.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
autodoc-params/templates Added autodoc-params.
resources Better
src/closure/templates Added *key-transform* var to allow custom key transformation. Thx rat…
.gitignore Ignored .lein-failures and the autodoc directory.
.travis.yml Added .travis.yml.
README Added notes.
project.clj Switched to Clojure 1.4.0.



Clojure library for Google's Closure Templates.

## Installation

Via Clojars:

## Documentation

The API documentation is available at

## Examples

(ns closure.templates.test.core
  (:use closure.templates.core))

(deftemplate hello-name [name]
  {:name name})

(hello-name \"Closure\")
;=> \"Hello Closure\"

## Notes

This example expects a Soy template named "helloName" in the file
"soy/closure/templates/test/" on the classpath. The render fn
must match with the template name, and the Clojure namespace with the
Soy filename.

## License

Copyright (C) 2011 Roman Scherer

Distributed under the Eclipse Public License, the same as Clojure.
Something went wrong with that request. Please try again.