]> iEval git - plack-app-gruntmaster.git/blame_incremental - lib/Gruntmaster/Page/Index.pm
Add gruntmaster-job
[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 constant TITLE => 'Gruntmaster 6000';
11
12use HTML::Template::Compiled;
13use Gruntmaster::Page::Common qw/header footer/;
14
15my %templates = (
16 en => <<'HTML',
17HTML
18);
19
20$templates{$_} = header($_, TITLE) . $templates{$_} for keys %templates;
21$templates{$_} .= footer $_ for keys %templates;
22
23sub generate{
24 HTML::Template::Compiled->new(scalarref => \$templates{$_[1]})->output
25}
26
271
This page took 0.019055 seconds and 4 git commands to generate.