decentralized-id.github.io/staticman.yml
2020-10-11 05:35:03 -04:00

48 lines
1.3 KiB
YAML

# To encrypt strings use the following endpoint:
# https://api.staticman.net/v2/encrypt/{TEXT TO BE ENCRYPTED}
comments:
allowedFields: ["name", "email", "url", "message"]
allowedOrigins: ["decentralized-id.com"]
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"
name: "Decentralized-id.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: ""
# (!) ENCRYPTED
#
# Mailgun domain (encrypted)
# domain: ""
path: "_data/comments/{options.slug}" # "_data/comments/{options.slug}" (default)
requiredFields: ["name", "email", "message"]