Muster::Hook::Template - Muster template directive.
version 0.62
Muster::Hook::Template for template directives inside pages.
Muster::Hook::Template inherits all methods from Muster::Hook::Directives.
Do some intialization.
Process templates.
{&format_yaml(fieldname,yaml_value)}
Format a yaml field.
{&repeat_n(num,value)}
Repeat a format N times. Simple substitution: $$N is the number and $$A is the equivalent letter.
{&repeat_for(pipe_value,value)}
Repeat a format for each "pipe-value" (pipe-separated value). Simple substitution: $$F is the "for" value $$N is the number and $$A is the equivalent letter.
{&math(mathexpr)}
Do math with the given fields.
To install Muster, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Muster
CPAN shell
perl -MCPAN -e shell install Muster
For more information on module installation, please visit the detailed CPAN module installation guide.