Last active
April 21, 2018 15:37
-
-
Save heytxz/d33fb245712cac5dd7d5a049d2e37fa8 to your computer and use it in GitHub Desktop.
3rd staticman yml file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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