-
Notifications
You must be signed in to change notification settings - Fork 8
/
blueprints.yaml
201 lines (180 loc) · 4.62 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
190
191
192
193
194
195
196
197
198
199
200
201
name: Related Pages
slug: relatedpages
type: plugin
version: 1.2.5
description: "A highly sophisticated and configurable plugin that calculates related pages in relation to the current page."
icon: newspaper-o
author:
name: Team Grav
email: devs@getgrav.org
url: http://getgrav.org
homepage: https://github.com/getgrav/grav-plugin-relatedpages
demo: http://learn.getgrav.org
keywords: related, plugin
bugs: https://github.com/getgrav/grav-plugin-relatedpages/issues
license: MIT
dependencies:
- { name: grav, version: '>=1.5.0' }
form:
validation: loose
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
basics_title:
type: section
title: PLUGIN_REL_PAGES.BASICS
underline: true
limit:
type: text
size: x-small
label: PLUGIN_REL_PAGES.LIMIT
help: PLUGIN_REL_PAGES.LIMIT_HELP
validate:
type: int
min: 0
max: 65536
show_score:
type: toggle
label: PLUGIN_REL_PAGES.SHOW_SCORE
help: PLUGIN_REL_PAGES.SHOW_SCORE_HELP
highlight: 1
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
filter.items:
type: multilevel
label: PLUGIN_REL_PAGES.ITEMS
value_only: true
validate:
type: array
filter.excluded_types:
type: array
label: PLUGIN_REL_PAGES.EXCLUDED_TYPES
value_only: true
validate:
type: array
filter.order.by:
type: select
label: PLUGIN_REL_PAGES.ORDER_BY
default: date
options:
folder: Folder
title: Title
date: Date
default: Default
filter.order.dir:
type: select
label: PLUGIN_REL_PAGES.ORDER
default: desc
options:
asc: Ascending
desc: Descending
page_in_filter:
type: toggle
label: PLUGIN_REL_PAGES.PAGE_IN_FILTER
help: PLUGIN_REL_PAGES.PAGE_IN_FILTER_HELP
highlight: 1
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
explicit_pages.process:
type: toggle
label: PLUGIN_REL_PAGES.EXPLICIT_PROCESS
help: PLUGIN_REL_PAGES.EXPLICIT_PROCESS_HELP
highlight: 1
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
explicit_pages.score:
type: text
size: x-small
label: PLUGIN_REL_PAGES.EXPLICIT_SCORE
help: PLUGIN_REL_PAGES.EXPLICIT_SCORE_HELP
validate:
type: int
min: 0
max: 100
taxonomy_title:
type: section
title: PLUGIN_REL_PAGES.TAXONOMY_MATCH
underline: true
taxonomy_match.taxonomy:
type: textarea
yaml: true
size: medium
label: PLUGIN_REL_PAGES.TAXONOMY
help: PLUGIN_REL_PAGES.TAXONOMY_HELP
validate:
type: string
taxonomy_match.taxonomy_taxonomy.process:
type: toggle
label: PLUGIN_REL_PAGES.TAXONOMY_TAXONOMY_PROCESS
help: PLUGIN_REL_PAGES.TAXONOMY_TAXONOMY_PROCESS_HELP
highlight: 1
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
taxonomy_match.taxonomy_content.process:
type: toggle
label: PLUGIN_REL_PAGES.TAXONOMY_CONTENT_PROCESS
help: PLUGIN_REL_PAGES.TAXONOMY_CONTENT_PROCESS_HELP
highlight: 1
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
content_title:
type: section
title: PLUGIN_REL_PAGES.CONTENT_MATCH
underline: true
content_match.process:
type: toggle
label: PLUGIN_REL_PAGES.CONTENT_PROCESS
help: PLUGIN_REL_PAGES.CONTENT_PROCESS_HELP
highlight: 1
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
advanced_title:
type: section
title: PLUGIN_REL_PAGES.ADVANCED
underline: true
taxonomy_match.taxonomy_taxonomy.score_scale:
type: array
label: PLUGIN_REL_PAGES.TAXONOMY_SCORE_SCALE
size: large
default: [50, 75, 100]
value_only: true
placeholder_value: 50
taxonomy_match.taxonomy_content.score_scale:
type: array
label: PLUGIN_REL_PAGES.CONTENT_SCORE_SCALE
size: large
default: [50, 75, 100]
value_only: true
placeholder_value: 50