Skip to content

How to disable this plugin on error pages? #34

@Lamecarlate

Description

@Lamecarlate

Hello!

Is there a way to disable this plugin on error pages?

I created a error folder in my pages, with template: error, as my theme has a error.html.twig template. It's working great to replace the error page from the default Error plugin. But, even if I put

highlight:
    enabled: false

in the frontmatter, the js and css of Highlight are loaded.

If I make this error page routable and go to mysite.xyz/error, I can see that the js and css are not loaded.

Maybe I'm not using the right way to customise my error page, but I found close to nothing about that in the documentation :(

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions