NAME

Catalyst::View::BK - Catalyst View for Bricklayer::Templater

DESCRIPTION

Catalyst View. Implements the Bricklayer Templating engine for Catalyst

AUTHOR

Jeremy Wall <Zaphar> (Jeremy@marzhillstudios.com)

Bricklayer attempts to use sane defaults so in reality you don't need to specify anything here if you don't want to.

If you do want to override the defaults then there are two configuration values you can override. The Tag Identifier and the Template Extension.

    CMS->config(
        name     => 'CMS',
        root     => CMS->path_to('root');,
        'View::BK' => {
            # any BK configurations items go here
           'bk_ext' => 'txml',
	   'bk_tag_id' => 'BK'
	},
    );
 

Methods

render

Allows you to render a template and retrieve the result. It also allows you to specify the arguments passed to the template engine and to override the tag id by setting the $c->stash->{bk_tag_id} parameter before calling it.

LICENSE

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 25:

Unknown directive: =head