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.

LICENSE

This module is free software; you can redistribute it and/or modify it under the terms of either:

a) the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version, or

b) the Perl "Artistic License".

AUTHOR

Steve Kemp <steve@steve.org.uk>