X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FGruntmaster%2FPage%2FCommon.pm;h=37cdf710fc60e21223a52f01a7b00fe379f262ad;hb=2b0036ac8e077cc20cf9db6ff8dad4091ab50cb3;hp=65cf53c334777f90fea6f96659d80fa75621a1e8;hpb=6d78fc24dc7d6e7cdc9edfec73fa6f269f91b5eb;p=plack-app-gruntmaster.git diff --git a/lib/Gruntmaster/Page/Common.pm b/lib/Gruntmaster/Page/Common.pm index 65cf53c..37cdf71 100644 --- a/lib/Gruntmaster/Page/Common.pm +++ b/lib/Gruntmaster/Page/Common.pm @@ -4,17 +4,18 @@ use 5.014000; use strict; use warnings; use parent qw/Exporter/; -our @EXPORT_OK = qw/header footer patch_templates/; +our @EXPORT_OK = qw/header footer cook_templates reload_templates/; use File::Slurp qw/read_file/; -my %header_templates = ( +my %orig_header_templates = ( en => <<'HTML', TITLE_GOES_HERE - - + + + @@ -26,7 +27,7 @@ my %header_templates = ( HTML ); -my %footer_templates = ( +my %orig_footer_templates = ( en => <<'HTML',