Template-Plexsite
view release on metacpan or search on metacpan
script/build-menu.pl view on Meta::CPAN
424344454647484950515253545556575859606162use
File::Copy;
use
Data::Dumper;
use
Template::Plex;
use
Template::Plexsite;
use
JSON;
#use GetOpt::Long;
my
$html_root
=
"site"
;
#Takes a list or multiple input templates
#Generates a table mapping template path to output path and tag name
my
%tag_table
;
#maps tags to outputs
my
%url_table
;
#maps input filename to output urls
#Do preprocess
script/page.pl view on Meta::CPAN
1234567891011121314151617181920use
Template::Plex;
use
Data::Dumper;
#Modes are: preprocess
# process
local
$
"="
\n";
my
$output
=
"/dev/null"
;
my
%page
=(
site
=>
"Site name"
,
category
=>
"Category1"
,
title
=>
"Page title"
,
content
=>
$ARGV
[1],
html_root
=>
'site'
,
stylesheets
=>[
"stylesheets/common.css"
],
( run in 0.395 second using v1.01-cache-2.11-cpan-4e96b696675 )