Page.liquid

From Spiffy Stores Knowledge Base

Revision as of 18:06, 16 September 2008 by Admin (talk | contribs) (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...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.