NAME

Chronicle::Plugin::Snippets::Version - Make the chronicle version available to templates

DESCRIPTION

This module makes the release variable available to chronicle templates.

This can be used in templates like so:

Generated by Chronicle <!-- tmpl_var name='release' -->

METHODS

Now follows documentation on the available methods.

on_initiate

The on_initiate method is automatically invoked just before any on_generate methods which might be present.

This method updates the global variables, which are made available to all loaded templates, to define a release variable containing the current release number.