The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Chronicle::Plugin::Generate::Pages - Generate each blog page.

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 each distinct blog post page.

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 each distinct blog-post for your site, via the theme-template entry.tmpl.

If pages have previously been generated, and exist on-disk already, then we skip regenerating them unless either:

The --force flag was used.
The post was written within the past ten days.

The latter point is designed to ensure that a rebuild will pick up any recent comments added to your posts without manual attention.