Statocles::Page - Render documents into HTML
version 0.021
A Statocles::Page takes one or more documents and renders them into one or more HTML pages using a main template and a layout template.
The application this page came from, so we can give it to the templates.
The absolute URL path to save this page to.
A hash of arrays of links to pages related to this page. Possible keys:
feed - Feed pages related to this page
Each item in the array is a hash with the following keys:
href - The page for the link type - The MIME type of the link, optional
The Text::Markdown object to render document Markdown.
The main template for this page. The result will be wrapped in the layout template.
The layout template for this page, which will wrap the content generated by the template.
Render the page, using the template and wrapping with the layout.
A page that renders a single document.
A page that renders a list of other pages.
Doug Bell <preaction@cpan.org>
This software is copyright (c) 2014 by Doug Bell.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Statocles, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Statocles
CPAN shell
perl -MCPAN -e shell install Statocles
For more information on module installation, please visit the detailed CPAN module installation guide.