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 $site->pages, posts are in $site->posts and so on.
generate
$site
$site->pages
$site->posts
version 1.95
John SJ Anderson <genehack@genehack.org>
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.
To install HiD, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HiD
CPAN shell
perl -MCPAN -e shell install HiD
For more information on module installation, please visit the detailed CPAN module installation guide.