-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathblueprints.yaml
61 lines (59 loc) · 1.9 KB
/
blueprints.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: Custom HTTP Headers
slug: custom-http-headers
type: plugin
version: 1.0.3
description: Ability add custom HTTP Headers for Content Security Policy (CSP), Cross Origin Resource Sharing (CORS), Referrer-Policy, Permissions Policy, and other security needs
icon: globe
author:
name: Trilby Media
email: hello@trilby.media
homepage: https://github.com/trilbymedia/grav-plugin-custom-http-headers
keywords: grav, plugin, Content-Security-Policy, CSP, Cross Origin Resource Sharing, CORS, Strict-Transport-Security, Referrer-Policy, Permissions-Policy, X-Xss-Protection
bugs: https://github.com/trilbymedia/grav-plugin-custom-http-headers/issues
docs: https://github.com/trilbymedia/grav-plugin-custom-http-headers/blob/develop/README.md
license: MIT
dependencies:
- { name: grav, version: '>=1.7.0' }
form:
validation: loose
fields:
enabled:
type: toggle
label: PLUGIN_ADMIN.PLUGIN_STATUS
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
enabled_in_admin:
type: toggle
label: PLUGIN_CUSTOM_HTTP_HEADERS.ENABLED_IN_ADMIN
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
debug_headers:
type: toggle
label: PLUGIN_CUSTOM_HTTP_HEADERS.DEBUG_HEADERS
help: PLUGIN_CUSTOM_HTTP_HEADERS.DEBUG_HEADERS_HELP
highlight: 0
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
custom_headers:
type: array
label: PLUGIN_CUSTOM_HTTP_HEADERS.CUSTOM_HEADERS
help: PLUGIN_CUSTOM_HTTP_HEADERS.CUSTOM_HEADERS_HELP
remove_headers:
type: array
value_only: true
label: PLUGIN_CUSTOM_HTTP_HEADERS.REMOVE_HEADERS
help: PLUGIN_CUSTOM_HTTP_HEADERS.REMOVE_HEADERS_HELP