NAME
Chronicle::Plugin::Snippets::Tags - Generate tags list.
DESCRIPTION
This module will be invoked automatically when your site is built via the on_generate
hook which Chronicle provides.
It is responsible for creating the a data-structure to show all tags.
To use this plugin add the following to your theme:
<!-- tmpl_if name='recent_tags' -->
<h3>Recent Tags</h3>
<ul>
<!-- tmpl_loop name='recent_tags' -->
<li><a href="/tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --></a></li>
<!-- /tmpl_loop -->
</ul>
<!-- /tmpl_if name='recent_tags' -->
AUTHOR
Steve Kemp <steve@steve.org.uk>
COPYRIGHT AND LICENSE
Copyright (C) 2014 Steve Kemp <steve@steve.org.uk>.
This library is free software. You can modify and or distribute it under the same terms as Perl itself.