NAME
Statocles::Page::Document - Render documents into HTML
VERSION
version 0.036
DESCRIPTION
This page class takes a single document and renders it as HTML.
ATTRIBUTES
document
The document this page will render.
title
The title of the page.
author
The author of the page.
last_modified
Get the last modified date of this page by checking the document.
tags
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
METHODS
content( vars )
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.
sections
Get a list of content divided into sections. The Markdown "---" marker divides sections.
tags()
Get the list of tags for this page.
AUTHOR
Doug Bell <preaction@cpan.org>
COPYRIGHT AND LICENSE
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.