Page.liquid

From Spiffy Stores Knowledge Base

Revision as of 18:07, 16 September 2008 by Admin (talk | contribs)

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:

  • page - The current page being displayed.
  • handle - The handle of the page.

In addition, all global variables are available.