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