<#import "../layout/defaultLayout.ftl.html" as layout> <@layout.myLayout "Home page">

Examples

Ninja can do a lot for you. In the following some code samples that show the power of Ninja.


Standard behavior

... and some code in the future ;)

Rendering jsons

Filtering

Injection

Session support

Flash cookie support

Internationalization

Html Escaping

Upload demo: