NAME
Statocles::Page::Document - Render documents into HTML
VERSION
version 0.020
DESCRIPTION
This page class takes a single document and renders it as HTML.
ATTRIBUTES
published
The publish date/time of this page. A Time::Piece object.
document
The document this page will render.
tags
The tag links for this document. An array of link hashes with the following keys:
title - The title of the link
href - The page of the link
METHODS
content
Generate the document HTML by converting Markdown.
vars
Get the template variables for this page.
sections
Get a list of content divided into sections. The Markdown "---" marker divides sections.
AUTHOR
Doug Bell <preaction@cpan.org>
COPYRIGHT AND LICENSE
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.