NAME

Chronicle::Plugin::StaticPages - Generate non-blog pages.

DESCRIPTION

If your blog-post contains a "page: 1" header then it will treat the post as a non-blog static page.

You can manually specify the output path, via a header such as output: about/index.html.

This contains all the methods to handle the storing and generating of non-blog pages.

* on_db_create: creates a table within the blog database to store the pages. * on_insert: inserts new and updated pages. * on_generate: generates the page.

METHODS

Now follows documentation on the available methods.

doc

on_db_create

Create a table for the static-pages.

on_insert

Don't generate a blog/tag/archive entry if we have a "page: 1" header, instead insert the post into the static-page table.

on_generate

Generates the static page if a "page: 1" header is present. The Page is processed then removed from futher processing, to avoid being treated as a blog entry.

LICENSE

This module is free software; you can redistribute it and/or modify it under the terms of either:

a) the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version, or

b) the Perl "Artistic License".

AUTHOR

Stuart Skelton