Chronicle::Plugin::StaticPages - Generate non-blog pages.
If your blog-post contains a "page: 1" header then it will treat the post as a non-blog static page.
page: 1
You can manually specify the output path, via a header such as output: about/index.html.
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.
Now follows documentation on the available methods.
Create a table for the static-pages.
Don't generate a blog/tag/archive entry if we have a "page: 1" header, instead insert the post into the static-page table.
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.
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".
Stuart Skelton
To install App::Chronicle, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Chronicle
CPAN shell
perl -MCPAN -e shell install App::Chronicle
For more information on module installation, please visit the detailed CPAN module installation guide.