- COPYRIGHT AND LICENSE
Statocles::Theme - Templates, headers, footers, and navigation
# Template directory layout /theme/site/layout.tmpl /theme/blog/index.tmpl /theme/blog/post.tmpl my $theme = Statocles::Theme->new( path => '/theme' ); my $layout = $theme->template( site => 'layout' ); my $blog_index = $theme->template( blog => 'index' ); my $blog_post = $theme->template( blog => 'post' );
A Theme contains all the templates that applications need.
source_dir is read, the templates inside are organized based on their name and their parent directory.
The source directory for this theme.
The template objects for this theme.
source_dir and create the Statocles::Template objects inside.
Get the template from the given
section with the given
Doug Bell <firstname.lastname@example.org>
This software is copyright (c) 2014 by Doug Bell.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.