use IO::File;
use POSIX qw/strftime/;
use YAML::Any qw/LoadFile/;
-use Gruntmaster::Page qw/header footer/;
+use Gruntmaster::Page::Common qw/header footer/;
my %templates = (
en => <<'HTML',
sub generate{
my ($path, $lang) = @_;
- $id = ($path =~ m,log/(.*)/index,)[0];
+ my $id = ($path =~ m,log/(.*)/index,)[0];
$path =~ s,/index\.html,,;
my $template = $templates{$lang};