Skip to content

Page Template

jstrimpel edited this page Oct 13, 2014 · 5 revisions

Lazo creates the initial page response using an internal Handlebars template. In some cases you might need to heavily modify the output of the initial page response. If you add app/views/page.hbs to your application Lazo will use the file to render the initial page response. The source from page.hbs can be used as a template for creating an application specific page template.

If you remove or omit certain blocks in app/views/page.hbs it will break Lazo. These required blocks have been noted via Handlebars comment blocks in page.hbs.