App-Aphra
view release on metacpan or search on metacpan
The extension matches the special format "template". In this case, the
template is just processed by the Template Toolkit.
The extension matches some other format name. In this case, the template is
processed by C<pandoc> to convert the named format to the output format
(html by default) before being processed by the Template Toolkit.
In both cases where the Template Toolkit is involved, the output file is
placed under the output directory in a position that mirrors the position
of the input file under the iput directory. The output file is also renamed
to remove the extension that marked the input file as a template.
An example might make this clearer. Imagine we have all of the default
configuration options and the following directory tree.
src/index.html.tt
src/style.css
src/about/index.html.tt
fragments/index_text.md
fragments/about_text.md
( run in 0.422 second using v1.01-cache-2.11-cpan-b888b73be4d )