Add staticman.filename
config with UNIX timestamp for sorting data files
example ~> comment-1470943149
This commit is contained in:
parent
5819e4dc78
commit
d86a6c995c
@ -32,6 +32,7 @@ staticman:
|
|||||||
allowedFields : ['name', 'email', 'url', 'message']
|
allowedFields : ['name', 'email', 'url', 'message']
|
||||||
branch : # "master", "gh-pages"
|
branch : # "master", "gh-pages"
|
||||||
commitMessage : "New comment."
|
commitMessage : "New comment."
|
||||||
|
filename : comment-{@timestamp}
|
||||||
format : "yml"
|
format : "yml"
|
||||||
moderation : true
|
moderation : true
|
||||||
path : "_data/comments/{options.slug}"
|
path : "_data/comments/{options.slug}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user