-
Notifications
You must be signed in to change notification settings - Fork 12
/
blueprints.yaml
191 lines (176 loc) · 4.64 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
name: Archives
version: 2.0.3.1
type: plugin
slug: archives
description: The **Archives** plugin creates links for pages grouped by month/year
icon: university
author:
name: Team Grav
email: [email protected]
url: http://getgrav.org
homepage: https://github.com/getgrav/grav-plugin-archives
demo: http://demo.getgrav.org/blog-skeleton
keywords: archives, plugin, blog, month, year, date, navigation, history
bugs: https://github.com/getgrav/grav-plugin-archives/issues
license: MIT
dependencies:
- { name: grav, version: '>=1.6.0' }
form:
fields:
enabled:
type: toggle
label: PLUGIN_ADMIN.PLUGIN_STATUS
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
built_in_css:
type: toggle
label: Use built in CSS
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
date_display_format:
type: select
size: medium
classes: fancy
label: Date Format
default: 'jS M Y'
options:
'F jS Y': "January 1st 2024"
'l jS of F': "Monday 1st of January"
'D, m M Y': "Mon, 01 Jan 2024"
'd-m-y': "01-01-24"
'jS M Y': "10th Feb 2024"
'F Y': "Jan 2024"
'Y': "2024"
show_count:
type: toggle
label: Show Count
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
limit:
type: text
size: x-small
label: Count Limit
validate:
type: number
min: 1
taxonomy_names:
type: array
label: Taxonomy Names
placeholder_key: e.g. month
placeholder_value: e.g. archives_month
taxonomy_values:
type: array
label: Taxonomy Values (date format)
placeholder_key: e.g. month
placeholder_value: e.g. 'M_Y'
defaults_section:
type: section
underline: true
title: Default Configuration
order.by:
type: select
size: medium
classes: fancy
label: Order Type
options:
default: Default - based on folder name
title: Title - based on title field in header
basename: Basename - based on the alphabetic folder name
date: Date - based on date field in header
modified: Modified - based on the modified timestamp
folder: Folder - based on prefix-less folder name
random: Random - order is randomized
order.dir:
type: select
size: medium
label: Order Direction
default: desc
options:
asc: Ascending
desc: Descending
filters:
type: textarea
yaml: true
label: Filter
placeholder: "page@: '/blog'"
validate:
type: yaml
filter_combinator:
type: select
size: medium
classes: fancy
label: Filter Combinator
default: and
options:
and: 'And - Boolean &&'
or: 'Or - Boolean ||'
pageconfig_section:
type: section
underline: true
title: Page-Specific Configuration
page_specific_config:
type: list
label: Configurations
fields:
.route:
type: text
label: Route
placeholder: '/blog'
validate:
required: true
.filters:
type: textarea
yaml: true
label: Filter
placeholder: "page@: '/blog'"
validate:
type: yaml
.filter_combinator:
type: select
size: medium
classes: fancy
label: Filter Combinator
default: ''
options:
'': Use Default
and: 'And - Boolean &&'
or: 'Or - Boolean ||'
.order_by:
type: select
size: medium
classes: fancy
label: Order Type
default: ''
options:
'': Use Default
default: Default - based on folder name
title: Title - based on title field in header
basename: Basename - based on the alphabetic folder name
date: Date - based on date field in header
modified: Modified - based on the modified timestamp
folder: Folder - based on prefix-less folder name
random: Random - order is randomized
.order_dir:
type: select
size: medium
label: Order Direction
default: ''
options:
'': Use Default
asc: Ascending
desc: Descending