Skip to content

Commit

Permalink
Add default commitMessage text and date generated field to Staticman …
Browse files Browse the repository at this point in the history
…config
  • Loading branch information
mmistakes committed Aug 11, 2016
1 parent 7aa4e3c commit 64ac795
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,18 @@ comments:
staticman:
allowedFields : ['name', 'email', 'url', 'message']
branch : # "master", "gh-pages"
commitMessage : "New comment."
format : "yml"
moderation : true
path : "_data/comments/{options.slug}"
requiredFields : ['name', 'email', 'message']
transforms:
email : "md5"
generatedFields:
date:
type : "date"
options:
format : "iso8601" # "iso8601" (default), "timestamp-seconds", "timestamp-milliseconds"
atom_feed:
path : # blank (default) uses feed.xml

Expand Down

0 comments on commit 64ac795

Please sign in to comment.