Statocles::Page::Document - Render documents into HTML
version 0.050
This page class takes a single document and renders it as HTML.
The document this page will render.
The title of the page.
The author of the page.
Get the date of this page by checking the document.
The tag links for this document. An array of link objects. The most important attributes are:
text - The text of the link href - The page of the link
Generate the document HTML by processing template directives and converting Markdown. vars is a set of name-value pairs to give to the template.
vars
Get the template variables for this page.
Get a list of content divided into sections. The Markdown "---" marker divides sections.
Get the list of tags for this page.
The template for this page. If the document has a template, it will be used. Otherwise, the template attribute will be used.
The layout template for this page. If the document has a layout, it will be used. Otherwise, the layout attribute will be used.
Doug Bell <preaction@cpan.org>
This software is copyright (c) 2015 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.