This commit is contained in:
⧉ infominer 2020-10-11 06:53:41 -04:00
parent fb3f3cc901
commit a6f430c81a
2 changed files with 1 additions and 32 deletions

View File

@ -41,8 +41,6 @@ staticman:
moderation : true moderation : true
path : "_data/comments/{options.slug}" path : "_data/comments/{options.slug}"
requiredFields : ["name", "message"] requiredFields : ["name", "message"]
transforms:
email : "md5"
generatedFields: generatedFields:
date: date:
type: "date" type: "date"

View File

@ -14,38 +14,9 @@ comments:
options: options:
format: "iso8601" # "iso8601" (default), "timestamp-seconds", "timestamp-milliseconds" format: "iso8601" # "iso8601" (default), "timestamp-seconds", "timestamp-milliseconds"
moderation: true moderation: true
# Akismet spam detection.
# akismet:
# enabled: true
# author: "name"
# authorEmail: "email"
# authorUrl: "url"
# content: "message"
# type: "comment"
name: "Decentralized-id.com" 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) path: "_data/comments/{options.slug}" # "_data/comments/{options.slug}" (default)
requiredFields: ["name", "email", "message"] requiredFields: ["name", "email", "message"]
reCaptcha: reCaptcha:
enabled: true enabled: true
siteKey: 6LfHeawUAAAAAATc0Sckhl9FJLGog3m7qLrYA8V0 siteKey: 6LfHeawUAAAAAATc0Sckhl9FJLGog3m7qLrYA8V0