App-WRT
view release on metacpan or search on metacpan
lib/App/WRT.pm view on Meta::CPAN
A single template, specified by the C<template_dir> and C<template> config
values, is used to render all pages. See F<example/templates/basic> for an
example, or run C<wrt init> in an empty directory and look at
F<templates/default>.
Here's a short example:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>${title_prefix} - ${title}</title>
</head>
<body>
${content}
</body>
</html>
Within templates, C<${foo}> will be replaced with the corresponding
( run in 0.432 second using v1.01-cache-2.11-cpan-fd5d4e115d8 )