-
Notifications
You must be signed in to change notification settings - Fork 1
/
staticman.yml
40 lines (30 loc) · 1.86 KB
/
staticman.yml
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
comments:
# There are many more required config values here, not shown:
# use the file linked above as a template
allowedFields: ["name", "email", "url", "message", "replying_to_uid"]
branch: master
filename: "entry{@timestamp}"
path: "_data/comments/{options.slug}"
# I guess used only for email notifications?
name: "wojik"
format: "yaml"
transforms:
email: md5
# List of fields to be populated automatically by Staticman and included in
# the data file. Keys are the name of the field. The value can be an object
# with a `type` property, which configures the generated field, or any value
# to be used directly (e.g. a string, number or array)
generatedFields:
date:
type: date
options:
format: "timestamp-seconds"
# You may want a different set of "required fields". Staticman will
# reject posts without all of these fields
requiredFields: ["name", "message"]
# you are going to want reCaptcha set up, but for now leave it disabled because we need the API
# bridge up and running in order to encrypt the secrets that go in this section
reCaptcha:
enabled: true
siteKey: 6LdN6dQZAAAAAGI9yxG7pFQe6HjjNuVRZ7yVXFj9
secret: FsY7gxAlX+cOwqOJoSJ4rpz2Hh6CGV6PjUIwQ3kzwH6jBk4PMsfOwv5w50I6JewAoIq+ge5iUbZAb2Hvd05rZOMq41jNFxfzRuLd7/e8G2/gf8gcVPGhjh8f8FJagem4BtWqev8AzExYC9mbDGvszhlu3tZBFpWEOWrUSzZfCcRCUcmQWz9Di+gtAXyLA25naicdwVKSMJ1q6/u7JdKKGXLcLPYFJt+Fa5zwN1eEiOQZiFfIkFZzz86+kPn8AuTWDxoXXG/2HGGdIs1qc+ztuwbwUuCdQJcbGJoQIE5bmMfvnK/NG1ygVPx0EaOwR4P4KMGarz5PbPGrmKYeIJPFIm6Y/pLOf0QtvIblrt9cQ+c8Ag3iZnVtrOhSbP6aCG9BMOY3MyXbtCmu7rXWOnUhDIy67BSad4ArpWIe47kN1oeICxvnyvy8e3/wkiwFCQ2CS1vdVwzGP8J+rHl8j1vxjm+BW0IiOyyowcia0OC1io4WkYOQYc3emI/47ZiGofxOAglbDlaWgoTUWGMdm373dOxJiEA/JtxCOWsorWBib/Q4ZHaWSYqyvXkF4Pzbf0TNmf1N6WQJIJ6KTWFyzTaoPFxxn706x5mWV44S1zKiMjifbwwDwnLm6m4m4ZOdxaNWf2fyBXsNcziODGCa9fwjOsw6vqvUzw3YzXToE5+2uOU=