Stash allows you to stash text and snippets of code for reuse throughout your templates.
Clone or download
croxton Merge pull request #155 from bryant1410/dev
Fix broken headings in Markdown files
Latest commit b253ef7 Sep 18, 2017

README.md

Stash

Release

This is the development version of Stash. Test thoroughly before using in production.

Description

Stash allows you to stash text and snippets of code for reuse throughout your templates. Variables can be set dynamically from the $_GET or $_POST superglobals and can optionally be cached in the database for persistence across pages.

Stash variables that you create are available to templates embedded below the level at which you are using the tag, or later in the parse order of the current template.

Stash is inspired by John D Wells' article on template partials, and Rob Sanchez's Dynamo module.

Documentation

https://github.com/croxton/Stash/wiki/