HiD::Generator::TagPages - Example generator to create tagged pages
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.
$site->tags
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.
version 1.992
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.