There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

NAME

Statocles::App::Blog - A blog application

VERSION

version 0.004

DESCRIPTION

This is a simple blog application for Statocles.

ATTRIBUTES

source

The Statocles::Source to read for documents.

url_root

The URL root of this application. All pages from this app will be under this root. Use this to ensure two apps do not try to write the same path.

theme

The Statocles::Theme for this app. See #THEME for what templates this app requires.

METHODS

post_pages()

Get the individual post Statocles::Page objects.

index()

Get the index page (a Statocles::Page object) for this application.

pages()

Get all the pages for this application.

THEME

blog => index

The index page template. Gets the following template variables:

site

The Statocles::Site object.

pages

An array reference containing all the blog post pages. Each page is a hash reference with the following keys:

content

The post content

title

The post title

author

The post author

blog => post

The main post page template. Gets the following template variables:

site

The Statocles::Site object

content

The post content

title

The post title

author

The post author

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.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 176:

You forgot a '=back' before '=head1'