Documentation

  1. Back
  2. Overview
  3. Creating Pages
    1. Editing Content
  4. Editing Templates
    1. Templating Language
    2. Assets
  5. Variable Types
    1. @variables
    2. $collections
    3. :partials
  6. RSS/Atom/JSON
  7. Download
    Version 2.0RC3
Stacey2

Variable Types

There are three type of variables within stacey’s templating system:

@variables

constructed from the contents of the page’s .txt file and supplemented by stacey (ie. @page_name).

$collections

collections of assets or pages that can be looped over (ie. $children).

:partials

shorthand references to the files within the /templates/partials directory (ie. :navigation).