From f9c418c7406a4c80288be7b1e78ea461d33e79f5 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Fri, 10 Aug 2018 08:04:00 -0400 Subject: [PATCH] Update Staticman commit message to include name --- CHANGELOG.md | 1 + _config.yml | 2 +- docs/_config.yml | 2 +- docs/_docs/05-configuration.md | 4 ++-- docs/_docs/18-history.md | 3 ++- staticman.yml | 2 +- test/_config.yml | 2 +- 7 files changed, 9 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f65770c..68d91b6e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ### Enhancements +* Update Staticman commit message to include commentor's name. * Improve side navigation spacing in relation to masthead. * Style archive links with appropriate link color. * Adjust feature row spacing and font-sizes. diff --git a/_config.yml b/_config.yml index 4bfe5574..1f11636b 100644 --- a/_config.yml +++ b/_config.yml @@ -40,7 +40,7 @@ comments: staticman: allowedFields : # ['name', 'email', 'url', 'message'] branch : # "master" - commitMessage : # "New comment." + commitMessage : # "New comment by {fields.name}" filename : # comment-{@timestamp} format : # "yml" moderation : # true diff --git a/docs/_config.yml b/docs/_config.yml index 6a437711..6a4ce301 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -35,7 +35,7 @@ comments: staticman: allowedFields : # ['name', 'email', 'url', 'message'] branch : "master" - commitMessage : # "New comment" + commitMessage : # "New comment by {fields.name}" filename : # comment-{@timestamp} format : # "yml" moderation : # true diff --git a/docs/_docs/05-configuration.md b/docs/_docs/05-configuration.md index 63843e18..fbe125d8 100644 --- a/docs/_docs/05-configuration.md +++ b/docs/_docs/05-configuration.md @@ -367,7 +367,7 @@ Default settings have been provided in [`staticman.yml`](https://github.com/mmis comments: allowedFields : ["name", "email", "url", "message"] branch : "master" - commitMessage : "New comment" + commitMessage : "New comment by {fields.name}" filename : "comment-{@timestamp}" format : "yaml" generatedFields: @@ -410,7 +410,7 @@ comments: staticman: allowedFields : ['name', 'email', 'url', 'message'] branch : "master" - commitMessage : "New comment." + commitMessage : "New comment by {fields.name}" filename : comment-{@timestamp} format : "yml" moderation : true diff --git a/docs/_docs/18-history.md b/docs/_docs/18-history.md index 3e402da7..d7252f9f 100644 --- a/docs/_docs/18-history.md +++ b/docs/_docs/18-history.md @@ -4,7 +4,7 @@ permalink: /docs/history/ excerpt: "Change log of enhancements and bug fixes made to the theme." sidebar: nav: docs -last_modified_at: 2018-08-09T15:46:33-04:00 +last_modified_at: 2018-08-10T08:03:53-04:00 toc: true --- @@ -12,6 +12,7 @@ toc: true ### Enhancements +* Update Staticman commit message to include commentor's name. * Improve side navigation spacing in relation to masthead. * Style archive links with appropriate link color. * Adjust feature row spacing and font-sizes. diff --git a/staticman.yml b/staticman.yml index ef88f093..a4f161b7 100644 --- a/staticman.yml +++ b/staticman.yml @@ -25,7 +25,7 @@ comments: # request. branch: "master" - commitMessage: "New comment" + commitMessage: "New comment by {fields.name}" # (*) REQUIRED # diff --git a/test/_config.yml b/test/_config.yml index 66b902ea..e12304e4 100644 --- a/test/_config.yml +++ b/test/_config.yml @@ -34,7 +34,7 @@ comments: staticman: allowedFields : ['name', 'email', 'url', 'message'] branch : # "master", "gh-pages" - commitMessage : "New comment." + commitMessage : "New comment by {fields.name}" filename : comment-{@timestamp} format : "yml" moderation : true