The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

HiD::Generator - Base class for generators

DESCRIPTION

Role for generator objects

See http://jekyllrb.com/docs/plugins/#generators for more details. The HiD implementation differs somewhat, particularly in supporting additional plugin functionality in a post-publication phase (see HiD::Plugin), but generators should still be used for things that need to modify content or inject new programatically generated objects into the publication process.

Generator objects should consume this role, and implement the generate method that it requires. This method will be passed the $site object from HiD. Pages to be generated are in $site->pages, posts are in $site->posts and so on.

METHODS

generate

VERSION

version 1.5

AUTHOR

John SJ Anderson <genehack@genehack.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 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.