X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FGruntmaster%2FPage%2FCommon.pm;h=37cdf710fc60e21223a52f01a7b00fe379f262ad;hb=2b0036ac8e077cc20cf9db6ff8dad4091ab50cb3;hp=667dae8d61258c4bc095f1a8b5a1e3f5f06296db;hpb=879063d7deb100035d21ff2be57dce8d090b431f;p=plack-app-gruntmaster.git diff --git a/lib/Gruntmaster/Page/Common.pm b/lib/Gruntmaster/Page/Common.pm index 667dae8..37cdf71 100644 --- a/lib/Gruntmaster/Page/Common.pm +++ b/lib/Gruntmaster/Page/Common.pm @@ -4,11 +4,11 @@ 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 @@ -27,7 +27,7 @@ my %header_templates = ( HTML ); -my %footer_templates = ( +my %orig_footer_templates = ( en => <<'HTML',