Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Clojure Library for Google's Closure Templates.
Clojure
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
autodoc-params/templates
resources
src/closure/templates
test/closure/templates
.gitignore
.travis.yml
README
project.clj

README

# CLOSURE-TEMPLATES-CLJ

Clojure library for Google's Closure Templates.

## Installation

Via Clojars: http://clojars.org/closure-templates-clj.

## Documentation

The API documentation is available at http://r0man.github.com/closure-templates-clj.

## 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/core.soy" 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.