-
Notifications
You must be signed in to change notification settings - Fork 10
/
blueprints.yaml
72 lines (66 loc) · 1.7 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
name: Reading Time
version: 1.4.1
description: "Add human readable reading time to your pages."
icon: clock-o
author:
name: Team Grav
email: [email protected]
url: http://getgrav.org
homepage: https://github.com/getgrav/grav-plugin-readingtime
demo: http://www.getgrav.org/blog
keywords: readingtime, plugin
bugs: https://github.com/getgrav/grav-plugin-readingtime/issues
license: MIT
form:
validation: strict
fields:
enabled:
type: toggle
label: Plugin status
highlight: 1
default: 0
options:
1: Enabled
0: Disabled
validate:
type: bool
words_per_minute:
type: text
size: x-small
append: wpm
label: Words-per-minute
validate:
type: int
min: 1
max: 1000
format:
type: text
label: Format
size: large
round:
type: select
size: small
classes: fancy
label: Round to nearest...
options:
seconds: second
minutes: minute
include_image_views:
type: toggle
label: Include time for viewing images
highlight: 1
default: 0
options:
1: Enabled
0: Disabled
validate:
type: bool
seconds_per_image:
type: text
label: Seconds to view images
help: 'Comma-separated list of whole numbers where first number is the number of seconds to view the first image, second number for the second image, and so on. Example: 12,10,11'
default: '12,11,10,9,8,7,6,5,4,3'
validate:
required: true
pattern: '(^(\s*\d+\s*))?(,\s*\d+\s*)*'
message: 'Must be a comma-separated list of whole numbers (e.g. 12,11,10) with at least one number'