Hsoy Templates Plugin
Dependency :
compile ":hsoy-templates:0.3"Custom repositories :
mavenRepo "http://maven.the6hours.com/release/"
Summary
Grails plugin for Hsoy Templates (Google Closure Templates with HAML syntax)
Installation
grails install-plugin hsoy-templates
Description
Plugin Sources: https://github.com/splix/grails-hsoy-templatesHsoy Tempaltes is server-side and client-side templates, compiled into Java and JavaScript, and having Haml syntax. See https://github.com/splix/hsoy-templatesPut your .hsoy files into web-app/hsoy/ (like web-app/hsoy/myapp.hsoy) directory, and configure resources as:
Usage
Add dependency into BuildConfig.groovy:plugins {
compile ":hsoy-templates:0.3"
}templates {
dependsOn 'soyutils'
resource url: '/hsoy/myapp.hsoy', attrs:[type:'js']
}