-
Notifications
You must be signed in to change notification settings - Fork 0
/
staticman.yml
90 lines (75 loc) · 5.04 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
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
# Name of the property. You can have multiple properties with completely
# different config blocks for different sections of your site.
# For example, you can have one property to handle comment submission and
# another one to handle posts.
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: ["name", "email", "url", "message", "replying_to_uid", "subscribe"]
# (*) REQUIRED
#
# Name of the branch being used. Must match the one sent in the URL of the
# request.
branch: master
# Text to use as the commit message or pull request title. Accepts placeholders.
commitMessage: "Comment from {fields.name} on {options.slug}"
# (*) REQUIRED
#
# Destination path (filename) for the data files. Accepts placeholders.
filename: "{@date:YYYY-MM-DD_HH-mm-ss}_{fields.name}"
# The format of the generated data files. Accepted values are "json", "yaml"
# or "frontmatter"
format: "yaml"
# 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: "iso8601"
# Whether entries need to be approved before they are published to the main
# branch. If set to `true`, a pull request will be created for your approval.
# Otherwise, entries will be published to the main branch automatically.
moderation: false
# Akismet spam detection
akismet:
enabled: false
#author: "name"
#authorEmail: "email"
#content: "message"
#type: "comment"
# Name of the site. Used in notification emails.
name: "ErikTailor Blog"
# 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: false
# (!) ENCRYPTED
#
# Mailgun API key
#apiKey: "utdKrbydMEr5izvymApnWOAIo995/Xo6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UZFMS3MN86oA2chO59Q4Tg7JjzS6P970wrWVwnxCDkXrfyvwGf0rpz5hZqSso1Fvvx7EuzsBNA+F+oUzqzJwJl2ZwfqlvAZ5bMNtXN+YjwkNAxD+iWB1m7uPvrSylYQm8DBzblDrDjbCgqMA1snjlUooh3VUEPhjLZ1suMTuJuK654qO+qAy72XEnzoSKHHCl/QW1zGjObyDEDVxUeZ0EJGTzLQAWK8pW8+l29yR4jEIXctUpMcJu5/4Id6PlHGJUOUmwSd1DDarN6MdPm2z4AMhcTCwMjmnooJwKYcr9eV6K4="
# (*) REQUIRED
#
# Destination path (directory) for the data files. Accepts placeholders.
path: "_data/comments/{options.slug}"
# Names of required fields. If any of these isn't in the request or is empty,
# an error will be thrown.
requiredFields: ["name", "message"]
# List of transformations to apply to any of the fields supplied. Keys are
# the name of the field and values are possible transformation types.
transforms:
email: md5
reCaptcha:
enabled: false
#siteKey: "6LcK_QUaAAAAAMVQAFwxBLShIZMHN73eGePQeecW"
#secret: "DB0DSOb8FJ4AmzvFBJwrA9rjui+IFBNlBEMz788V1wWNfbIw+/7zpcy8bTUSEaedfoq7UURFElutXhHZpr5MXyEtHPLLh/Ayy4/vmTrLg4mIj3eclqYqzIRJzlmpIOgCI6RCiXkRR1JhZNLjgbYGfiS3S4OtU8t1aU7aX6Ul5Tk5QhqNlsSOTOxC0hnKHDHBeErsm38xKq34rYISLffreoTEmSc94vAQkTU24YW4S/cVbsjB9e0zkNEshguA4fZjTOKvnOcfdAQQps5CYoCXbTzEvyh488i0uAL6hH4TQfrVi5y0CX86i/RiHXzyWdLNl+UNUlXXlm5ZbaAfavmQZRRbuYAYOqYiJJgkvPD+Rww15mzU1WsDHudYyaS0nOXeaSHfADUQvGXnJI8O4T9yi13mF2iLlBRdtRb1P1mnoTCRYcIvbg391Do0vm0A42T9Kl474bHDKlV3YkoteOAbU9r6+aje6T9moBI+gYCqJVtkcZasAuwIavsqKxU4EYmOzmQV8I0ioNnlC6do7l0ti+9AG+5xS09YQj/97KgyeuWb80iNKZ5xTpDMZku2v/99UTpBlexmVmSUfdkdEmCb3iFuBwPFOVkCqqKS6ExR9wG2ev1rz8qvbrqgv0DN/Q0eRyhxMCYrxcEGdF9i4X9a/18XxzZ6iNtxeLcreaAOyiI="