Under Construction!

Overview

This page demonstrates the basic CMS features. Usually each page built with October is a combination of a layout, page, partials and content blocks, although in simple cases you can just use a page without anything else.

Layouts

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.

Pages

The page file pages/home.htm defines the page URL (/ for this page) and the page content. Pages are rendered inside layouts with this function that should be called in the layout code: {% page %}

Using a layout for pages is optional — you can define everything right in the page file.