Skip to content

Instantly share code, notes, and snippets.

@heytxz heytxz/staticman.yml
Last active Apr 21, 2018

Embed
What would you like to do?
3rd staticman yml file
comments:
allowedFields: ["message", "name", "email", "website", "parent", "quote"]
requiredFields: ["message", "name"]
format: "yaml"
transforms:
email: md5
name: "lisandroct.com"
allowedOrigins: ["lisandroct.com"]
branch: "master"
commitMessage: "New comment"
generatedFields:
date:
type: "date"
options:
format: "iso8601"
moderation: false
reCaptcha:
enabled: true
siteKey: "6Le1GDkUAAAAAIL1mWQaHx3uapvh_ek2Gjpz4Fpn"
secret: "QYZHb1y4/fYu7zbUO8HIK2HJplQAqBgYdao/BXJfbF4Ywwm8OpCmQhR56sGtMjan4kytj84AOF87kNpwu1Mb7Oppgj3xIX9q0k08bQxEOPGV5Z0MXRcteT1EUm4WYOb2j80r1pOkG7qZ32y3tEakCQqvT7pHjus18kOT4MhzhKI="
path: "_data/comments/{options.slug}"
filename: "{options.slug}-{@timestamp}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.