diff --git a/CHANGELOG.md b/CHANGELOG.md index e92cb3d0df61..0a4d2437259d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ - Fixed very long strings to wrap around the next line rather than go off-screen (#787) - Added `footer-hover-col` config setting to customize the hover colour of links in the footer (#848) - Added social network link for Discord (#907) +- Added CommentBox as comment option (#960) ## v5.0.0 (2020-09-15) diff --git a/_config.yml b/_config.yml index 207370890552..2c986832e048 100644 --- a/_config.yml +++ b/_config.yml @@ -161,6 +161,9 @@ footer-hover-col: "#0085A1" # To use Facebook Comments, create a Facebook app and fill in the Facebook App ID #fb_comment_id: "" +# To use CommentBox, sign up for a Project ID on https://commentbox.io +#commentbox: "" # Project ID, e.g. "5694267682979840-proj" + # To use Utterances comments: (0) uncomment the following section, (1) fill in # "repository" (make sure the repository is public), (2) Enable Issues in your repository, # (3) Install the Utterances app in your repository https://github.com/apps/utterances diff --git a/_includes/commentbox.html b/_includes/commentbox.html new file mode 100644 index 000000000000..e8019dadef62 --- /dev/null +++ b/_includes/commentbox.html @@ -0,0 +1,7 @@ +{% if site.commentbox %} + +
+ + + +{% endif %} diff --git a/_includes/comments.html b/_includes/comments.html index d4043e17aa3c..66242332a143 100644 --- a/_includes/comments.html +++ b/_includes/comments.html @@ -4,4 +4,5 @@ {% include staticman-comments.html %} {% include utterances-comment.html %} {% include giscus-comment.html %} + {% include commentbox.html %} {% endif %}