]> iEval git - plack-app-gruntmaster.git/blame_incremental - lib/Gruntmaster/Page/Index.pm
Add user list and user pages
[plack-app-gruntmaster.git] / lib / Gruntmaster / Page / Index.pm
... / ...
CommitLineData
1package Gruntmaster::Page::Index;
2
3use 5.014000;
4use strict;
5use warnings;
6use parent qw/Exporter/;
7our @EXPORT_OK = qw/generate/;
8our $VERSION = '0.001';
9
10use HTML::Template::Compiled;
11use Gruntmaster::Page::Common qw/cook_templates reload_templates/;
12
13my %orig_templates = (
14 en => <<'HTML',
15HTML
16);
17
18my %templates = cook_templates %orig_templates, index => 'Gruntmaster 6000';
19
20sub generate{
21 %templates = cook_templates %orig_templates, index => 'Gruntmaster 6000' if reload_templates;
22 HTML::Template::Compiled->new(scalarref => \$templates{$_[1]})->output
23}
24
251
This page took 0.018231 seconds and 4 git commands to generate.