dynamic-themes Plugin
Dependency:
compile "org.grails.plugins:dynamic-themes:0.1"
Summary
The dynamic-themes plugin allows your Grails application to load and render your pages with your own theme (folders with GSP templates and css) dinamically outside the scope of a web request. You can process models and sections (your own tags) in your templates. See DynamicThemesExamples (https://github.com/gonzalogarciajaubert/DynamicThemesExample/wiki) application for examples.
Installation
grails install-plugin dynamic-themes
Description
Introduction
The dynamic-themes plugin allows your Grails application to load and render pages with your own theme ( folders with GSP templates and css) dinamically outside the scope of a web request. If you've ever used Tumblr or Wordpress then you know what a theme is and how it works.You can process models and sections (your own tags) in your themes.This plugin provides the following feature:- Easy way to add themes to your project
- Build external gsp and css themes
- Change the style of your pages with external css
- Load external views
- Load external templates
Further Reading
- Full documentation:dynamic-themes official page
- Example application: DynamicThemesExample
Licensing
This plugin is released under the Apache License.