Skip to content

Hooks #446

Description

@Swader

I would like to propose adding hooks to Planet, such that logic can be executed before full planet build.

Example, I am building a theme where a user can just a provide a list of video URLs and tags in a page, and mark this page as a video directory. Then, on build, I would like my pre-processor to fetch the titles and thumbnails and build the static-filtering logic for per-tag filters on this page.

I can do this dynamically by processing with JS after page-load, but this is laggy and not SEO friendly, so I would prefer a full static build according to special rules pre-deployment, which is only possible with pre-build hooks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions