-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblueprints.yaml
executable file
·145 lines (130 loc) · 5.89 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
name: "AdSense"
version: 1.1.0
description: "This plugin enables to use AdSense inside a document to be rendered by Grav."
icon: adn
author:
name: muuvmuuv
email: [email protected]
homepage: https://github.com/muuvmuuv/grav-plugin-adsense
keywords: [adsense, grav, extension, plugin, google]
docs: https://github.com/muuvmuuv/grav-plugin-adsense/blob/master/README.md
bugs: https://github.com/muuvmuuv/grav-plugin-adsense/issues
license: MIT
dependencies:
- shortcode-core
form:
validation: strict
fields:
global:
type: section
title: PLUGIN_ADSENSE.GLOBAL_CONFIG
underline: 1
fields:
enabled:
type: toggle
label: PLUGIN_ADSENSE.PLUGIN_STATUS
highlight: 1
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
sandbox:
type: toggle
label: PLUGIN_ADSENSE.SANDBOX_STATUS
highlight: 0
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
default:
type: section
title: PLUGIN_ADSENSE.DEFAULT_CONFIG
underline: 1
fields:
options:
type: fieldset
collapsible: false
icon: gear
title: PLUGIN_ADSENSE.OPTIONS_LABEL
fields:
adsense.options.type:
type: select
size: small
label: PLUGIN_ADSENSE.OPTIONS.TYPE
default: css
options:
banner: PLUGIN_ADSENSE.OPTIONS.BANNER
fixed: PLUGIN_ADSENSE.OPTIONS.FIXED
validate:
type: string
adsense.options.direction:
type: select
size: small
label: PLUGIN_ADSENSE.OPTIONS.DIRECTION
default: css
options:
left: PLUGIN_ADSENSE.OPTIONS.LEFT
right: PLUGIN_ADSENSE.OPTIONS.RIGHT
top: PLUGIN_ADSENSE.OPTIONS.TOP
bottom: PLUGIN_ADSENSE.OPTIONS.BOTTOM
validate:
type: string
adsense.options.priority:
type: text
size: x-small
label: PLUGIN_ADSENSE.OPTIONS.PRIORITY
help: PLUGIN_ADSENSE.OPTIONS.PRIORITY_HELP
default: 10
validate:
type: int
min: 0
max: 65536
adsense.options.pipeline:
type: toggle
label: PLUGIN_ADSENSE.OPTIONS.PIPELINE
highlight: 0
default: 0
options:
1: PLUGIN_ADMIN.YES
0: PLUGIN_ADMIN.NO
validate:
type: bool
adsense.options.load:
type: select
size: large
label: PLUGIN_ADSENSE.OPTIONS.LOAD
help: PLUGIN_ADSENSE.OPTIONS.LOAD_HELP
default: async
options:
" ": PLUGIN_ADSENSE.OPTIONS.NONE
async: PLUGIN_ADSENSE.OPTIONS.ASYNC
defer: PLUGIN_ADSENSE.OPTIONS.DEFER
adsense.options.resource:
type: text
size: large
label: PLUGIN_ADSENSE.OPTIONS.RESOURCE
validate:
type: string
data:
type: fieldset
title: PLUGIN_ADSENSE.DATA_LABEL
help: PLUGIN_ADSENSE.DATA_HELP
collapsed: true
icon: key
fields:
adsense.data.client:
type: text
size: large
label: PLUGIN_ADSENSE.DATA.CLIENT
validate:
type: string
adsense.data.slot:
type: text
size: large
label: PLUGIN_ADSENSE.DATA.SLOT
validate:
type: int