Add staticman.filename config with UNIX timestamp for sorting data files

example ~> comment-1470943149
This commit is contained in:
Michael Rose 2016-08-11 15:20:09 -04:00
parent 5819e4dc78
commit d86a6c995c

View file

@ -32,6 +32,7 @@ staticman:
allowedFields : ['name', 'email', 'url', 'message']
branch : # "master", "gh-pages"
commitMessage : "New comment."
filename : comment-{@timestamp}
format : "yml"
moderation : true
path : "_data/comments/{options.slug}"