interface SiteEvent
implements Event
import { type SiteEvent } from "https://deno.land/x/lume@v1.15.3/core/site.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