-
Notifications
You must be signed in to change notification settings - Fork 55
/
Copy pathblueprints.yaml
172 lines (156 loc) · 4.43 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
name: SimpleSearch
type: plugin
slug: simplesearch
version: 2.3.0
description: "Don't be fooled, the **SimpleSearch** plugin provides a **fast** and highly **configurable** way to search your content."
icon: search
author:
name: Team Grav
email: [email protected]
url: http://getgrav.org
homepage: https://github.com/getgrav/grav-plugin-simplesearch
demo: http://demo.getgrav.org/blog-skeleton
keywords: simplesearch, plugin, search, page, content, find
bugs: https://github.com/getgrav/grav-plugin-simplesearch/issues
license: MIT
dependencies:
- { name: grav, version: '>=1.7.0' }
form:
validation: strict
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
search_content:
type: select
size: medium
classes: fancy
label: PLUGIN_SIMPLESEARCH.SEARCH_CONTENT
default: rendered
options:
rendered: PLUGIN_SIMPLESEARCH.RENDERED_CONTENT
raw: PLUGIN_SIMPLESEARCH.RAW_CONTENT
built_in_css:
type: toggle
label: PLUGIN_SIMPLESEARCH.BUILTIN_CSS
help: PLUGIN_SIMPLESEARCH.BUILTIN_CSS_HELP
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
built_in_js:
type: toggle
label: PLUGIN_SIMPLESEARCH.BUILTIN_JS
help: PLUGIN_SIMPLESEARCH.BUILTIN_JS_HELP
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
display_button:
type: toggle
label: PLUGIN_SIMPLESEARCH.DISPLAY_SEARCH_BUTTON
help: PLUGIN_SIMPLESEARCH.DISPLAY_SEARCH_BUTTON_HELP
highlight: 0
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
ignore_accented_characters:
type: toggle
label: PLUGIN_SIMPLESEARCH.IGNORE_ACCENDED_CHARACTERS
help: PLUGIN_SIMPLESEARCH.IGNORE_ACCENDED_CHARACTERS_HELP
highlight: 0
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
min_query_length:
type: text
size: x-small
label: PLUGIN_SIMPLESEARCH.MIN_QUERY_LENGTH
help: PLUGIN_SIMPLESEARCH.MIN_QUERY_LENGTH_HELP
validate:
type: number
min: 0
route:
type: text
size: medium
label: PLUGIN_SIMPLESEARCH.SEARCH_PAGE_ROUTE
help: PLUGIN_SIMPLESEARCH.SEARCH_PAGE_ROUTE_HELP
default: /random
searchable_types:
type: checkboxes
label: PLUGIN_SIMPLESEARCH.SEARCHABLE_TYPES
description: PLUGIN_SIMPLESEARCH.SEARCHABLE_TYPES_DESCRIPTION
options:
title: Title
content: Content
header: Header
taxonomy: Taxonomy
use: keys
header_keys_ignored:
type: selectize
size: large
label: PLUGIN_SIMPLESEARCH.HEADER_KEYS_IGNORED
help: PLUGIN_SIMPLESEARCH.HEADER_KEYS_IGNORED_HELP
classes: fancy
validate:
type: commalist
template:
type: text
size: medium
label: PLUGIN_SIMPLESEARCH.SEARCH_PAGE_TEMPLATE
help: PLUGIN_SIMPLESEARCH.SEARCH_PAGE_TEMPLATE_HELP
default: simplesearch_results
filters.category:
type: selectize
label: PLUGIN_SIMPLESEARCH.CATEGORY_FILTER
help: PLUGIN_SIMPLESEARCH.CATEGORY_FILTER_HELP
validate:
type: commalist
filter_combinator:
type: select
size: medium
classes: fancy
label: PLUGIN_SIMPLESEARCH.FILTER_COMBINATOR
default: and
options:
and: PLUGIN_SIMPLESEARCH.AND_COMBINATOR
or: PLUGIN_SIMPLESEARCH.OR_COMBINATOR
order.by:
type: select
size: long
classes: fancy
label: PLUGIN_ADMIN.DEFAULT_ORDERING
help: PLUGIN_ADMIN.DEFAULT_ORDERING_HELP
options:
default: PLUGIN_ADMIN.DEFAULT_ORDERING_DEFAULT
folder: PLUGIN_ADMIN.DEFAULT_ORDERING_FOLDER
title: PLUGIN_ADMIN.DEFAULT_ORDERING_TITLE
date: PLUGIN_ADMIN.DEFAULT_ORDERING_DATE
order.dir:
type: toggle
label: PLUGIN_ADMIN.DEFAULT_ORDER_DIRECTION
highlight: asc
default: desc
help: PLUGIN_ADMIN.DEFAULT_ORDER_DIRECTION_HELP
options:
asc: PLUGIN_ADMIN.ASCENDING
desc: PLUGIN_ADMIN.DESCENDING