-
Notifications
You must be signed in to change notification settings - Fork 14
/
blueprints.yaml
189 lines (169 loc) · 5.74 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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
name: 'External Links'
version: '1.6.1'
description: 'This plugin adds small icons to external and mailto links, informing users the link will take them to a new site or open their email client.'
icon: 'external-link'
author:
name: 'Sommerregen'
email: '[email protected]'
homepage: 'https://github.com/sommerregen/grav-plugin-external-links'
keywords: ['external', 'links', 'filter', 'formatter', 'plugin']
docs: 'https://github.com/sommerregen/grav-plugin-external-links/blob/master/README.md'
bugs: 'https://github.com/sommerregen/grav-plugin-external-links/issues'
license: 'MIT/GPL'
form:
validation: strict
fields:
tabs:
type: tabs
active: 1
class: subtle
fields:
external_links:
type: tab
title: PLUGINS.EXTERNAL_LINKS.PLUGIN_NAME
fields:
enabled:
type: toggle
label: PLUGIN_ADMIN.PLUGIN_STATUS
help: PLUGINS.EXTERNAL_LINKS.STATUS_HELP
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
built_in_css:
type: toggle
label: PLUGINS.EXTERNAL_LINKS.BUILTIN_CSS
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.YES
0: PLUGIN_ADMIN.NO
validate:
type: bool
weight:
type: text
size: x-small
label: PLUGINS.EXTERNAL_LINKS.WEIGHT
default: 0
validate:
type: int
min: -100
max: 100
settings:
type: tab
title: PLUGINS.EXTERNAL_LINKS.SETTINGS
fields:
links:
type: section
title: PLUGINS.EXTERNAL_LINKS.LINKS.SECTION
text: PLUGINS.EXTERNAL_LINKS.LINKS.SECTION_HELP
fields:
links.www:
type: toggle
label: PLUGINS.EXTERNAL_LINKS.LINKS.WWW
help: PLUGINS.EXTERNAL_LINKS.LINKS.WWW_HELP
default: 0
options:
1: PLUGIN_ADMIN.YES
0: PLUGIN_ADMIN.NO
validate:
type: bool
links.redirects:
type: toggle
label: PLUGINS.EXTERNAL_LINKS.LINKS.REDIRECTS
help: PLUGINS.EXTERNAL_LINKS.LINKS.REDIRECTS_HELP
default: 0
options:
1: PLUGIN_ADMIN.YES
0: PLUGIN_ADMIN.NO
validate:
type: bool
links.schemes:
type: selectize
size: large
label: PLUGINS.EXTERNAL_LINKS.LINKS.SCHEMES
help: PLUGINS.EXTERNAL_LINKS.LINKS.SCHEMES_HELP
validate:
type: commalist
exclude:
type: section
title: PLUGINS.EXTERNAL_LINKS.EXCLUDE.SECTION
text: PLUGINS.EXTERNAL_LINKS.EXCLUDE.SECTION_HELP
fields:
exclude.classes:
type: selectize
size: large
label: PLUGINS.EXTERNAL_LINKS.EXCLUDE.CLASSES
help: PLUGINS.EXTERNAL_LINKS.EXCLUDE.CLASSES_HELP
validate:
type: commalist
exclude.domains:
type: selectize
size: large
label: PLUGINS.EXTERNAL_LINKS.EXCLUDE.DOMAINS
help: PLUGINS.EXTERNAL_LINKS.EXCLUDE.DOMAINS_HELP
placeholder: 'localhost/*, img.domain.com/*'
validate:
type: commalist
content:
type: tab
title: PLUGINS.EXTERNAL_LINKS.CONTENT
fields:
process:
type: toggle
label: PLUGINS.EXTERNAL_LINKS.PROCESS
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.YES
0: PLUGIN_ADMIN.NO
validate:
type: bool
title:
type: toggle
label: PLUGINS.EXTERNAL_LINKS.TITLE
default: 0
options:
1: PLUGIN_ADMIN.YES
0: PLUGIN_ADMIN.NO
validate:
type: bool
no_follow:
type: toggle
label: PLUGINS.EXTERNAL_LINKS.NO_FOLLOW
default: 1
options:
1: PLUGIN_ADMIN.YES
0: PLUGIN_ADMIN.NO
validate:
type: bool
target:
type: select
size: large
label: PLUGINS.EXTERNAL_LINKS.TARGET
default: _blank
placeholder: _blank
selectize:
create: true
options:
_blank: PLUGINS.EXTERNAL_LINKS.TARGET_BLANK
_self: PLUGINS.EXTERNAL_LINKS.TARGET_SELF
_parent: PLUGINS.EXTERNAL_LINKS.TARGET_PARENT
_top: PLUGINS.EXTERNAL_LINKS.TARGET_TOP
validate:
type: string
mode:
type: select
size: large
classes: fancy
label: PLUGINS.EXTERNAL_LINKS.MODE
help: PLUGINS.EXTERNAL_LINKS.MODE_HELP
default: active
options:
active: PLUGINS.EXTERNAL_LINKS.MODE_ACTIVE
passive: PLUGINS.EXTERNAL_LINKS.MODE_PASSIVE
validate:
type: string