diff options
author | Vincent Tam <sere@live.hk> | 2019-05-19 16:39:52 +0300 |
---|---|---|
committer | Vincent Tam <sere@live.hk> | 2019-05-19 16:39:52 +0300 |
commit | 2288c393fa07b5cdcb6458bc04696287ea31143e (patch) | |
tree | cb7cb9b742c54b152314f1d006cf4e616dcab327 /exampleSite/staticman.yml | |
parent | 76f2f554fb905e795da00a54c4b8fb7a5eada207 (diff) |
Test Staticman
Diffstat (limited to 'exampleSite/staticman.yml')
-rw-r--r-- | exampleSite/staticman.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/exampleSite/staticman.yml b/exampleSite/staticman.yml new file mode 100644 index 0000000..6cdfc67 --- /dev/null +++ b/exampleSite/staticman.yml @@ -0,0 +1,16 @@ +comments: + allowedFields: ["name", "email", "website", "comment", "replyThread", "replyName", "replyID"] + branch : "master" + commitMessage : "New comment from {fields.name}" + path: "data/comments/{options.slug}" + filename : "comment-{@timestamp}" + format : "yaml" + moderation : true + requiredFields : ["name", "email", "comment"] + transforms: + email : md5 + generatedFields: + date: + type : "date" + options: + format : "iso8601" |