Stacey 2.3
Not backwards compatible
Stacey 3 is not backwards compatible with Stacey 2.3. This website serves as an archive because the old 2.3 documentation was not migrated to the github wiki (that is currently hosting the Stacey 3 documentation).
Now unmaintained, all technical support is now choppy and community led as github issues.
Collections
Stacey provides collections of related pages and assets which can be looped over from within the templates.
- $root
- Will list each top-level page within /content.
- $children
- Will list any child pages relative to the current page.
- $parents
- Will list the full ancestor tree relative to the current page.
- $parent
- Will list the direct ancestor relative to the current page.
- $siblings
- Will list any pages sitting at the same level as the current page. This collection does not include the current page.
- $siblings_and_self
- Will list any pages sitting at the same level as the current page. This collection includes the current page.
- $next_sibling
- Constructs a reference to the next page sitting at the same level as the current page (in reverse-numeric order).
- $previous_sibling
- Constructs a reference to the previous page sitting at the same level as the current page (in reverse-numeric order).
Asset Collections
- $images
$video - Will output a list of all the images or video files associated with this page (ie. sitting in the same folder as the page’s .txt file). If there are no matching assets, these collections will be empty.
- $html,
$swf,
$mp3,
$pdf,
etc. - Additionally, stacey will create a collection for any file type (other than .txt files) that it finds within the page’s folder.
Read more about asset types.