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

NAME

Chronicle::Plugin::Generate::LowerCase - Generate redirection pages

DESCRIPTION

If Chronicle has been configured to solely generate lower-case posts then this plugin will setup redirections to those, as appropriate.

For example you might write the post:

   Title: I'm Mixed-Case
   Date: 10th March 2017
   Tags: foo, bar,baz

By default this would produce:

http://example.com/I_m_Mixed_Case.html

Because lower-casing is in effect though instead the file generated will be:

http://example.com/i_m_mixed_case.html

This plugin will configure a redirection from the former to the latter.

METHODS

Now follows documentation on the available methods.

on_generate

The on_generate method is automatically invoked to generate output pages. This particular plugin method is invoked after any on_initiate methods which might be present.

This method is responsible for generating redirections if lower-casing is being enforced.

LICENSE

This module is free software; you can redistribute it and/or modify it under the terms of either:

a) the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version, or

b) the Perl "Artistic License".

AUTHOR

Steve Kemp <steve@steve.org.uk>