Skip to content
Browse files

fix GFM markup

  • Loading branch information...
1 parent 1c5c222 commit fc070481c798ed7d095a5b47a9e78126a0ae0bd6 @mgutz mgutz committed Jan 16, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 README.md
View
4 README.md
@@ -51,15 +51,19 @@ There are three ways to use a layout, listed in the order in which they are chec
1. Declarative within a page. Use handlebars comment. If you have declared a layoutsDir in the configuration, `LAYOUT` is a relative path from layoutsDir. Otherwise, `LAYOUT` is a relative path from the template.
+```
{{!< LAYOUT}}
+```
2. As an option to render
+```
res.render('veggies', {
title: 'My favorite veggies',
veggies: veggies,
layout: 'layout/veggie'
});
+```
This option also allows for default layout suppression by passing in a falsey Javascript value as the value of the `layout` property:

0 comments on commit fc07048

Please sign in to comment.
Something went wrong with that request. Please try again.