2019-03-28 19:40:33 -04:00
|
|
|
# To encrypt strings use the following endpoint:
|
|
|
|
# https://api.staticman.net/v2/encrypt/{TEXT TO BE ENCRYPTED}
|
|
|
|
|
|
|
|
comments:
|
|
|
|
allowedFields: ["name", "email", "url", "message"]
|
2020-10-11 05:32:19 -04:00
|
|
|
allowedOrigins: ["decentralized-id.com"]
|
2019-03-28 19:40:33 -04:00
|
|
|
branch: "master"
|
|
|
|
commitMessage: "New comment by {fields.name}"
|
|
|
|
filename: "comment-{@timestamp}"
|
|
|
|
format: "yaml"
|
|
|
|
generatedFields:
|
|
|
|
date:
|
|
|
|
type: "date"
|
|
|
|
options:
|
|
|
|
format: "iso8601" # "iso8601" (default), "timestamp-seconds", "timestamp-milliseconds"
|
|
|
|
moderation: true
|
|
|
|
|
|
|
|
# Akismet spam detection.
|
|
|
|
# akismet:
|
|
|
|
# enabled: true
|
|
|
|
# author: "name"
|
|
|
|
# authorEmail: "email"
|
|
|
|
# authorUrl: "url"
|
|
|
|
# content: "message"
|
|
|
|
# type: "comment"
|
|
|
|
|
2019-07-09 10:58:51 -04:00
|
|
|
name: "Decentralized-id.com"
|
2019-03-28 19:40:33 -04:00
|
|
|
|
|
|
|
# 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: ""
|
|
|
|
|
|
|
|
# (!) ENCRYPTED
|
|
|
|
#
|
|
|
|
# Mailgun domain (encrypted)
|
|
|
|
# domain: ""
|
|
|
|
|
2019-07-09 10:58:51 -04:00
|
|
|
path: "_data/comments/{options.slug}" # "_data/comments/{options.slug}" (default)
|
2019-03-28 19:40:33 -04:00
|
|
|
requiredFields: ["name", "email", "message"]
|