Stash allows you to stash text and snippets of code for reuse throughout your templates.
Latest commit e9573e1 Apr 15, 2016 @croxton Added `stash_prune` hooks

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/