Add default commitMessage text and date generated field to Staticman config
This commit is contained in:
parent
7aa4e3ca3d
commit
64ac7952c1
1 changed files with 6 additions and 0 deletions
|
@ -31,12 +31,18 @@ comments:
|
||||||
staticman:
|
staticman:
|
||||||
allowedFields : ['name', 'email', 'url', 'message']
|
allowedFields : ['name', 'email', 'url', 'message']
|
||||||
branch : # "master", "gh-pages"
|
branch : # "master", "gh-pages"
|
||||||
|
commitMessage : "New comment."
|
||||||
format : "yml"
|
format : "yml"
|
||||||
moderation : true
|
moderation : true
|
||||||
path : "_data/comments/{options.slug}"
|
path : "_data/comments/{options.slug}"
|
||||||
requiredFields : ['name', 'email', 'message']
|
requiredFields : ['name', 'email', 'message']
|
||||||
transforms:
|
transforms:
|
||||||
email : "md5"
|
email : "md5"
|
||||||
|
generatedFields:
|
||||||
|
date:
|
||||||
|
type : "date"
|
||||||
|
options:
|
||||||
|
format : "iso8601" # "iso8601" (default), "timestamp-seconds", "timestamp-milliseconds"
|
||||||
atom_feed:
|
atom_feed:
|
||||||
path : # blank (default) uses feed.xml
|
path : # blank (default) uses feed.xml
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue