Difference between revisions of "Page.liquid"
From Spiffy Stores Knowledge Base
(New page: This template renders a page. This is usually the simplest of templates to build, and will consist of just the page content. For example: <pre><div id="page"> <h1>{{ page.title }}</h1...) |
|||
Line 1: | Line 1: | ||
− | This template renders a page. | + | This template renders a [[Liquid Template Variables - page|page]]. |
This is usually the simplest of templates to build, and will consist of just the page content. | This is usually the simplest of templates to build, and will consist of just the page content. |
Revision as of 18:07, 16 September 2008
This template renders a page.
This is usually the simplest of templates to build, and will consist of just the page content.
For example:
<div id="page"> <h1>{{ page.title }}</h1> <div class="article textile"> {{ page.content }} </div> </div>
Variables
In page.liquid you have access to the following variables:
In addition, all global variables are available.