-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathblueprints.yaml
196 lines (183 loc) · 5.22 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
name: Embed Font Awesome
version: 0.1.9
description: "Embed Font Awesome icons into your HTML output as inline SVGs."
icon: flag
author:
name: Nathan Parsons
email: github@tantalum.blue
url: https://github.com/n-parsons
keywords: icons, font awesome, svg, inline, embed, custom icons
homepage: https://github.com/n-parsons/grav-plugin-embed-fontawesome
bugs: https://github.com/n-parsons/grav-plugin-embed-fontawesome/issues
license: MIT
form:
validation: strict
fields:
enabled:
type: toggle
label: Plugin status
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
builtin_css:
type: toggle
label: Builtin CSS
help: Provides a minimalistic stylesheet for formatting icons
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
fail_behaviour:
type: toggle
label: Failure behaviour
default: hard
highlight: hard
options:
"hard": Throw exception
"soft": Replace icon
icon_class:
type: text
label: Icon class(es)
default: icon
retain_icon_name:
type: toggle
label: Retain icon name (eg. fa-heart)
info: Will be broken if you also load FA CSS/JS
highlight: 1
default: 0
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
insertion_section:
type: section
title: Insertion methods for custom icons
underline: true
text: "These methods replicate the function of 'markdown-fontawesome' and 'shortcode-core', but for custom icons that you upload here. You'll still need those plugins installed if you want to use the same patterns for Font Awesome icons."
fields:
emoji_icons:
type: toggle
label: ":emoji: style icons (ie. :icon-...:)"
help: "Supplements the 'markdown-fontawesome' plugin"
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
shortcode_icons:
type: toggle
label: "Shortcode icons (ie. [icon=... /])"
help: "Supplements and depends on the 'shortcode-core' plugin"
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
files_section:
type: section
title: Icon files
text: "Icons can also be uploaded directly to 'user/data/fontawesome/--variant--/', but those won't appear here because of the way that Grav handles file uploads in the Admin Panel."
underline: true
fields:
fieldset-solid:
type: fieldset
title: Solid (fas/fa)
collapsible: true
collapsed: true
fields:
solid:
label: SVGs
type: file
destination: 'user/data/fontawesome/solid'
multiple: true
limit: 0
filesize: 1
accept:
- image/*
fieldset-regular:
type: fieldset
title: Regular (far)
collapsible: true
collapsed: true
fields:
regular:
label: SVGs
type: file
destination: 'user/data/fontawesome/regular'
multiple: true
limit: 0
filesize: 1
accept:
- image/*
fieldset-light:
type: fieldset
title: Light (fal)
collapsible: true
collapsed: true
fields:
light:
label: SVGs
type: file
destination: 'user/data/fontawesome/light'
multiple: true
limit: 0
filesize: 1
accept:
- image/*
fieldset-brand:
type: fieldset
title: Brands (fab)
collapsible: true
collapsed: true
fields:
brands:
label: SVGs
type: file
destination: 'user/data/fontawesome/brands'
multiple: true
limit: 0
filesize: 1
accept:
- image/*
fieldset-duotone:
type: fieldset
title: Duotone (fad)
collapsible: true
collapsed: true
fields:
duotone:
label: SVGs
type: file
destination: 'user/data/fontawesome/duotone'
multiple: true
limit: 0
filesize: 1
accept:
- image/*
fieldset-custom:
type: fieldset
title: Custom (icon)
collapsible: true
collapsed: true
fields:
duotone:
label: SVGs
type: file
destination: 'user/data/fontawesome/custom'
multiple: true
limit: 0
filesize: 1
accept:
- image/*