NAME

HiD::Generator::TagPages - Example generator to create tagged pages

DESCRIPTION

This is an example of a generator plugin. It generates one page per key in the $site->tags hash, and injects that page into the site so that it will be published.

To activate this plugin, add a 'tags.generate' key to your config. You should also add a 'tags.layout' key that provides a template file to use. Finally, you may also set a 'tags.destination' key to indicate an output directory for the tag files. If this is not set, it will default to the normal site-wise destination.

METHODS

generate

VERSION

version 1.992

AUTHOR

John SJ Anderson <genehack@genehack.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by John SJ Anderson.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.