-
Notifications
You must be signed in to change notification settings - Fork 8
/
staticman.yml
90 lines (75 loc) · 4.94 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"]
# (*) REQUIRED WHEN USING NOTIFICATIONS
#
# When allowedOrigins is defined, only requests sent from one of the domains
# listed will be accepted. The origin is sent as part of the `options` object
# (e.g. <input name="options[origin]" value="http://yourdomain.com/post1")
allowedOrigins: ["spinningnumbers.org"]
# (*) REQUIRED
#
# Name of the branch being used. Must match the one sent in the URL of the
# request.
branch: "master"
# (*) REQUIRED
#
# Destination path (filename) for the data files. Accepts placeholders.
filename: "comment-{@timestamp}"
# 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"
# format: "timestamp-seconds"
# Whether entries need to be appproved 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: true
# Name of the site. Used in notification emails.
#name: "eduardoboucas.com"
name: "Spinningnumbers.org"
# 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: "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K7aK0dofpcIqbxE0DY5kdNi/TzHJrsE2iv476Foa/ShbexS9Envt9hYu8sKdpZbRp4HV7NGP2NIk7hAAuuT1GTqn+RRVzKyUt4GFEAlaG5vR6y0zqhhMCXPr0UTe/hJyVYKbqRgAx3JhoCg0dJ4dpReByaT4lJvJcy9qn3/lGIWqfQpy1qiGgvRlHrFME7zpKvbKWm0nuzOpWUVcHl9dRSEy9S1oCd9GVkLdsF5xiBtRgXtWLcFstFJ+l7i93kCie6s0X/QYCXIAe3hw3DeuLr7GsQWZug92+CKUPjhjqSulxGx8dkRnADgrAanJMZHg1jik="
# (*) REQUIRED
#
# Destination path (directory) for the data files. Accepts placeholders.
path: "_data/comments/{options.slug}"
# Names of required files. 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: true
siteKey: "6LcK3xkUAAAAAKdppIIORt78Df93D2qvOGtZinEy"
secret: "ZDr0M2qiOuw9w60zudvJr/ncny8eAcC9xezVJrqWYquHIZs6ydlY5XfJqbpOw8iYJcs3lYz3n2aL98v/6I8DXSO1b3L+eG9S458DENkCewodjDoHpwvuy2qNnNtPtALxC79dQnjmBKtr79uWCEjb8QwVolHndly5ZBnIUNE/fNCs56beTHxziZNC0zbsWSqQYIfH0glbaER3ro0VUgYTRPcI6X1hMk1xWLsa0uLtDPOPRcV21KB9ZpgahP4Bz1WQ+skNfeKkiwHvxsurLFcGWAbq+7kidnsIRmdmU9c2QD9i6goBu/g1Tc6PYawMM+ik+tADsNDspLNjOlx4TEtnVrI8EvONspE2M/WZa+QYy2raB5psy1ny/oCIuMblopHAJbigcq6y1hZfQS/QvIlWYRHuqgkI8xCEWRvSZpIofYYivk/rbUQ/DdbqGs0Bi44K9LTEytDV4jYwEyibNQ5gaxZOvJ7k34JP4+ypbUwU9SmYFr1HnTEKhg7piy64G6M1VJnZiwroWAX5NSVB7mgVwG/ofnDRfxyR/QwCYG09tV16u/P9+tbDIE7gkPXeVZMVf4aTsEbdb2p3Ng4tk4DbmcxUZf5SLAuoWG86bOHM8vvDpumLKfeqL+l31395smLu+xR3QQEWAxHTiwsKS9N9CCfSgDDQGzY/NagKMmk7wu8="
# Akismet spam detection
akismet:
enabled: true