forked from getgrav/grav-plugin-advanced-pagecache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblueprints.yaml
67 lines (61 loc) · 1.59 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
62
63
64
65
66
67
name: AdvancedPageCache
version: 1.1.1
description: "AdvancedPageCache turbo charges your site by statically caching pages."
icon: dashboard
author:
name: Team Grav
email: [email protected]
url: http://getgrav.org
homepage: https://github.com/getgrav/grav-plugin-advanced-pagecache
keywords: "static, cache, plugin, performance"
bugs: https://github.com/getgrav/grav-plugin-advanced-pagecache/issues
license: MIT
form:
validation: strict
fields:
enabled:
type: toggle
label: Plugin Status
highlight: 1
default: 1
options:
1: Enabled
0: Disabled
validate:
type: bool
enabled_with_params:
type: toggle
label: Enabled with Params
highlight: 1
default: 1
options:
1: Enabled
0: Disabled
validate:
type: bool
help: Enable if there are params set on this URI (eg. /color:blue)
enabled_with_query:
type: toggle
label: Enabled with Query
highlight: 1
default: 1
options:
1: Enabled
0: Disabled
validate:
type: boolù
help: Enable if there are query options set on this URI (eg. ?color=blue)
whitelist:
type: array
value_only: true
label: Whitelist
help: "Enable the plugin only when calling these page paths"
placeholder_key:
placeholder_value: /whitelist-this-route
blacklist:
type: array
value_only: true
label: Blacklist
help: "Disable the plugin when calling these page paths"
placeholder_key:
placeholder_value: /blacklist-this-route