forked from mikahanninen/grav-plugin-facebook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
blueprints.yaml
240 lines (214 loc) · 5.47 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
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
name: Facebook
version: 100.00
description: "**Facebook** is a plugin that embeds Facebook page content, album or events into your Grav website."
icon: facebook
author:
name: Max Roth
email: [email protected]
homepage: https://github.com/macmacs/grav-plugin-facebook
keywords: facebook
bugs: https://github.com/macmacs/grav-plugin-facebook/issues
docs: https://github.com/macmacs/grav-plugin-facebook/blob/master/README.md
license: MIT
form:
validation: loose
fields:
Basics:
type: section
title: Basics
underline: false
enabled:
type: toggle
label: Plugin status
highlight: 1
default: 0
options:
1: Enabled
0: Disabled
validate:
type: bool
PostSettings:
type: section
title: Post settings
underline: true
facebook_page_settings.section_title:
type: text
size: large
label: Title for Posts
help: Title for section of Facebook Posts
placeholder: "title"
default: ''
validate:
type: string
facebook_page_settings.page_name:
type: text
size: large
label: Posts page name
help: Facebook page name whose posts will be shown. Used in a link.
placeholder: "page name"
default: ''
validate:
type: string
facebook_page_settings.page_id:
type: text
size: small
label: Posts page ID
help: Facebook page id whose POSTS will be shown
placeholder: "page id"
default: ''
validate:
type: string
facebook_page_settings.date_format:
type: text
size: small
label: Post date format
help: Date format for Facebook post
placeholder: "date format"
default: 'd.m.Y \k\l\o H:i'
validate:
type: string
facebook_page_settings.count:
type: text
size: small
label: Amount of posts to show
placeholder: "Defaults to 7"
default: 7
validate:
type: number
min: 1
max: 65535
facebook_page_settings.filter_by_tags:
type: text
size: large
label: Tag filter
help: Tag(s) to filter posts with
placeholder: "tag(s)"
default: ''
validate:
type: string
facebook_page_settings.first_paragraph_is_heading:
type: toggle
label: Format first post paragraph as heading
highlight: 1
default: 1
options:
1: Enabled
0: Disabled
validate:
type: bool
EventSettings:
type: section
title: Event settings
underline: true
facebook_event_settings.section_title:
type: text
size: large
label: Title for Events
help: Title for section of Facebook Events
placeholder: "title"
default: ''
validate:
type: string
facebook_event_settings.show_cover:
type: toggle
label: Show Events Cover image
highlight: 1
default: 1
options:
1: Enabled
0: Disabled
validate:
type: bool
facebook_event_settings.page_name:
type: text
size: large
label: Events page name
help: Facebook page name whose events will be shown. Used in a link.
placeholder: "page name"
default: ''
validate:
type: string
facebook_event_settings.events_page_id:
type: text
size: small
label: Events page ID
help: Facebook page id whose EVENTS will be shown. If empty, shows events for same page as posts.
placeholder: "events page id"
default: ''
validate:
type: string
facebook_event_settings.count:
type: text
size: small
label: Amount of events to show
placeholder: "Defaults to 7"
default: 7
validate:
type: number
min: 1
max: 65535
AlbumSettings:
type: section
title: Album settings
underline: true
facebook_album_settings.use_unitegallery:
type: toggle
label: Use Unitegallery for Albums
highlight: 1
default: 1
options:
1: Enabled
0: Disabled
validate:
type: bool
facebook_album_settings.album_page_id:
type: text
size: small
label: Album page ID
help: Facebook page id whose ALBUM will be shown. If empty, shows album for same page as posts.
placeholder: "album page id"
default: ''
validate:
type: string
facebook_album_settings.album_name:
type: text
size: large
label: Album name
help: Album name whose photos will be shown.
placeholder: "album name"
default: ''
validate:
type: string
facebook_album_settings.unitegallery_theme:
type: select
label: Unitegallery Theme
size: small
default: default
options:
default: default
compact: compact
grid: grid
slider: slider
video: video
CommonSettings:
type: section
title: Facebook API settings
underline: true
facebook_common_settings.application_id:
type: text
size: large
label: Application ID
help: Facebook API application id
placeholder: "application id"
default: ''
validate:
type: string
facebook_common_settings.application_secret:
type: text
size: large
label: Application secret
help: Facebook API application secret
placeholder: "application secret"
default: ''
validate:
type: string