Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/VincentTam/huginn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Tam <sere@live.hk>2019-05-19 16:39:52 +0300
committerVincent Tam <sere@live.hk>2019-05-19 16:39:52 +0300
commit2288c393fa07b5cdcb6458bc04696287ea31143e (patch)
treecb7cb9b742c54b152314f1d006cf4e616dcab327 /exampleSite/staticman.yml
parent76f2f554fb905e795da00a54c4b8fb7a5eada207 (diff)
Test Staticman
Diffstat (limited to 'exampleSite/staticman.yml')
-rw-r--r--exampleSite/staticman.yml16
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"