-
Notifications
You must be signed in to change notification settings - Fork 0
/
blueprints.yaml
169 lines (156 loc) · 5.33 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
name: Better Typography
slug: better-typography
type: plugin
version: 0.1.0
description: Automatically improves the typography of your content. Provides a Twig filter.
icon: font
author:
name: Brice Boucard
email: [email protected]
homepage: https://github.com/bricebou/grav-plugin-better-typography
demo: https://grav.reclic.dev
keywords: grav, plugin, typography, content
bugs: https://github.com/bricebou/grav-plugin-better-typography/issues
docs: https://github.com/bricebou/grav-plugin-better-typography/blob/develop/README.md
license: MIT
dependencies:
- { name: grav, version: '>=1.7.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
perLanguageSettings:
type: list
style: vertical
label: PLUGIN_BETTER_TYPOGRAPHY.SETTINGS_PER_LANGUAGE
min: 1
data-max@: 'Grav\Plugin\BetterTypographyPlugin::maxLanguages'
fields:
.language:
type: select
label: Language
data-options@: 'Grav\Plugin\BetterTypographyPlugin::languageList'
.useSmartQuotes:
type: toggle
label: PLUGIN_BETTER_TYPOGRAPHY.SMART_QUOTES
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
.smartQuotesStyle:
type: select
size: medium
classes: fancy
label: PLUGIN_BETTER_TYPOGRAPHY.QUOTE_STYLE
default: 'doubleCurled'
options:
'doubleCurled': '“foo”'
'doubleCurledReversed': '”foo”'
'doubleLow9': '„foo”'
'doubleLow9Reversed': '„foo“'
'singleCurled': '‘foo’'
'singleCurledReversed': '’foo’'
'singleLow9': '‚foo’'
'singleLow9Reversed': '‚foo‘'
'doubleGuillemetsFrench': '« foo »'
'doubleGuillemets': '«foo»'
'doubleGuillemetsReversed': '»foo«'
'singleGuillemets': '‹foo›'
'singleGuillemetsReversed': '›foo‹'
'cornerBrackets': '「foo」'
'whiteCornerBracket': '『foo』'
.smartQuotesStyleSecondary:
type: select
size: medium
classes: fancy
label: PLUGIN_BETTER_TYPOGRAPHY.QUOTE_STYLE_SECONDARY
default: 'doubleCurled'
options:
'doubleCurled': '“foo”'
'doubleCurledReversed': '”foo”'
'doubleLow9': '„foo”'
'doubleLow9Reversed': '„foo“'
'singleCurled': '‘foo’'
'singleCurledReversed': '’foo’'
'singleLow9': '‚foo’'
'singleLow9Reversed': '‚foo‘'
'doubleGuillemetsFrench': '« foo »'
'doubleGuillemets': '«foo»'
'doubleGuillemetsReversed': '»foo«'
'singleGuillemets': '‹foo›'
'singleGuillemetsReversed': '›foo‹'
'cornerBrackets': '「foo」'
'whiteCornerBracket': '『foo』'
.useSmartDashes:
type: toggle
label: PLUGIN_BETTER_TYPOGRAPHY.SMART_DASHES
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
.smartDashesStyle:
type: select
size: medium
classes: fancy
label: PLUGIN_BETTER_TYPOGRAPHY.DASHES_STYLE
default: 'international'
options:
'traditionalUS': PLUGIN_BETTER_TYPOGRAPHY.DASHES_TRADITIONAL_US
'international': PLUGIN_BETTER_TYPOGRAPHY.DASHES_INTERNATIONAL
.applyHyphenations:
type: toggle
label: PLUGIN_BETTER_TYPOGRAPHY.HYPHENATIONS
highlight: 0
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
.applyFrenchSpecific:
type: toggle
label: PLUGIN_BETTER_TYPOGRAPHY.FRENCH
help: PLUGIN_BETTER_TYPOGRAPHY.FRENCH_HELP
highlight: 0
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
.useSmartDiacritics:
type: toggle
label: PLUGIN_BETTER_TYPOGRAPHY.DIACRITICS
help: PLUGIN_BETTER_TYPOGRAPHY.DIACRITICS_HELP
highlight: 0
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
.smartDiacriticsLanguage:
type: select
size: medium
classes: fancy
label: PLUGIN_BETTER_TYPOGRAPHY.DIACRITICS_LANGUAGE
default: ''
options:
'': ''
'de-DE': 'de-DE'
'en-US': 'en-US'