package Gruntmaster::Page::Index;

use 5.014000;
use strict;
use warnings;
use parent qw/Exporter/;
our @EXPORT_OK = qw/generate/;
our $VERSION = '0.001';

use constant TITLE => 'Gruntmaster 6000';

use HTML::Template::Compiled;
use Gruntmaster::Page::Common qw/header footer/;

my %templates = (
  en => <<'HTML',
HTML
);

$templates{$_}  = header($_, TITLE) . $templates{$_} for keys %templates;
$templates{$_} .= footer $_ for keys %templates;

sub generate{
  HTML::Template::Compiled->new(scalarref => \$templates{$_[1]})->output
}

1
