Layouts

  Layouts define the page scaffold.

The layout file layouts/default.htm defines the page scaffold — everything that repeats on each page, such as the HTML, HEAD and BODY tags, StyleSheet and JavaScript references.

The page menu and footer in the Demo theme are defined in the layout as well.


Placeholders

  Placeholders allow pages to inject content to a layout.

The common use is injecting page-specific links to StyleSheet or JavaScript files to the HEAD tag defined in the layout. Placeholders are defined in the layout file and they have names so that they can be referred in the page. Example: