Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (20 sloc) 513 Bytes
comments:
allowedFields: ["name", "email", "body", "slug"]
allowedOrigins: ["localhost", "dirkkelly.com"]
branch: "master"
generatedFields:
date:
type: date
slug:
type: slugify
options:
field: title
format: "json"
commitMessage: "dirkkelly.com : Oh Shit! New Comment"
moderation: true
name: "Dirk Kelly"
path: "data/comments{options.slug}"
filename: "{@id}"
requiredFields: ["name", "body"]
transforms:
email: md5 # The email field will be MD5-hashed
You can’t perform that action at this time.