-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstaticman.yml
More file actions
59 lines (43 loc) · 1.54 KB
/
staticman.yml
File metadata and controls
59 lines (43 loc) · 1.54 KB
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
comments:
# (*) REQUIRED
#
# Names of the fields the form is allowed to submit. If a field that is
# not here is part of the request, an error will be thrown.
allowedFields: ["_parent", "name", "email", "url", "message"]
allowedOrigins: ["localhost", "badvertex.com"]
branch: "master"
commitMessage: "New comment on {options.slug} from {fields.name}"
filename: "comment-{@timestamp}"
format: "yaml"
generatedFields:
date:
type: date
options:
format: "iso8601"
moderation: true
name: "badvertex.com"
# Notification settings. When enabled, users can choose to receive notifications
# via email when someone adds a reply or a new comment. This requires an account
# with Mailgun, which you can get for free at http://mailgun.com.
#notifications:
# Enable notifications
#enabled: true
# (!) ENCRYPTED
#
# Mailgun API key
#apiKey: "1q2w3e4r"
# (!) ENCRYPTED
#
# Mailgun domain (encrypted)
#domain: "4r3e2w1q"
# (*) REQUIRED
#
# Destination path (directory) for the data files. Accepts placeholders.
path: "_data/comments/{options.slug}"
requiredFields: [ "_parent", "name", "email", "message"]
transforms:
email: md5
reCaptcha:
enabled: true
siteKey: "6LfZXT4UAAAAADYTgNOeU04CyzYdBWAocActdGMJ"
secret: "HtdxDI3BU/FXc5xgdzW+lXzorddgTXftDcYocvna6nM0kKPMuuaDMMhb/jKc/IP5wOTSv6guXYyTjUVbcQBm2crzIJRJOQ+6Wuv9IU1B7YW67tC8bci104HSYltXXJWgRkl+aw14dMTZpcOqnNVK9pc9iXJMohAKL6guVvG9QRs="