Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Clojure Library for Google's Closure Templates.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 autodoc-params
Octocat-spinner-32 resources
Octocat-spinner-32 src
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 README
Octocat-spinner-32 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.