-
Notifications
You must be signed in to change notification settings - Fork 2
hb adapter
jarnoux edited this page Jul 2, 2013
·
4 revisions
hb-adapter is an adapter middleware for the popular template engine Handlebars.
It is the default engine to render html files in the views/
directory. You can modify the template engine used by Rig by calling the rig.engine
method (see API here).
"hb-adapter": {
"minifyHtml": true
}
-
minifyHtml
: if true, the middleware will strip all spaces, newlines and html comments between html tags to make a compact html blob (useful to save characters sent over the wire).