interface SiteEvent
implements Event
Re-export
import { type SiteEvent } from "https://deno.land/x/lume@v1.17.5/core.ts";
Custom events for site build
Properties
type: SiteEventType
The event type
Available only in "beforeUpdate" and "afterUpdate" contains the files that were changed
optional
page: PageAvailable only in "beforeRenderOnDemand" contains the page that will be rendered
optional
pages: Page[]Available only in "afterBuild", "beforeRender", "afterRender" and "afterUpdate" contains the list of pages that have been saved
optional
staticFiles: StaticFile[]Available only in "afterBuild" and "afterUpdate" contains the list of static files that have been copied