-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow maintenance page to be non-routable #33
Comments
I guess this is a duplicate of #27 A workaround would be:
|
I am not sure why this works for the error plugin, but not the maintainance plugin. I assume that there is some internal grav code the removes the routable attribute (not in the plugin code, but rather related to the event). If that is true (@rhukster ?) we could simply modify the page header and set Edit: working further with grav it turns out, that setting |
I expected that it would be possible to specify a page with
routable: false
in its frontmatter, but this causes a 404 to show up instead.The error plugin does allow this so I quickly glanced the code there. I am not familiar with the plugin API so I'll just link to the differences in page handling between the plugins in case this saves someone else looking that up.
The text was updated successfully, but these errors were encountered: