Add error plugin v1.8.1

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-18 23:43:45 +02:00
parent db400a6993
commit f5263ddc78
23 changed files with 1252 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
name: Error
version: 1.8.1
description: Displays the error page.
type: plugin
slug: error
icon: warning
author:
name: Team Grav
email: devs@getgrav.org
url: http://getgrav.org
homepage: https://github.com/getgrav/grav-plugin-error
keywords: error, plugin, required
bugs: https://github.com/getgrav/grav-plugin-error/issues
license: MIT
dependencies:
- { name: grav, version: '>=1.7.0' }
form:
validation: strict
fields:
enabled:
type: toggle
label: PLUGIN_ADMIN.PLUGIN_STATUS
highlight: 1
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
routes.404:
type: text
size: medium
label: PLUGIN_ERROR.ROUTE_404
default: '/error'