HiD::Generator - Base class for generators
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
posts are in
$site->posts and so on.
John SJ Anderson <firstname.lastname@example.org>
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.