diff --git a/_config.yml b/_config.yml index 9eeeeeb1..502dfd3d 100644 --- a/_config.yml +++ b/_config.yml @@ -53,6 +53,7 @@ staticman: type : # "date" options: format : # "iso8601" (default), "timestamp-seconds", "timestamp-milliseconds" + endpoint : # URL of your own deployment with trailing slash, will fallback to the public instance reCaptcha: siteKey : secret : diff --git a/_includes/comments.html b/_includes/comments.html index 8709d694..2f5f88b3 100644 --- a/_includes/comments.html +++ b/_includes/comments.html @@ -50,7 +50,7 @@

{{ site.data.ui-text[site.locale].comments_label | default: "Leave a Comment" }}

{{ site.data.ui-text[site.locale].comment_form_info | default: "Your email address will not be published. Required fields are marked" }} *

-
+
{{ site.data.ui-text[site.locale].loading_label | default: "Loading..." }} @@ -168,4 +168,4 @@ {% when "custom" %}
{% endcase %} -
\ No newline at end of file +
diff --git a/docs/_config.yml b/docs/_config.yml index c3b9a374..16c47aeb 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -48,6 +48,7 @@ staticman: type : # "date" options: format : # "iso8601" (default), "timestamp-seconds", "timestamp-milliseconds" + endpoint : # URL of your own deployment with trailing slash, will fallback to the public instance reCaptcha: siteKey : "6LdRBykTAAAAAFB46MnIu6ixuxwu9W1ihFF8G60Q" secret : "PznnZGu3P6eTHRPLORniSq+J61YEf+A9zmColXDM5icqF49gbunH51B8+h+i2IvewpuxtA9TFoK68TuhUp/X3YKmmqhXasegHYabY50fqF9nJh9npWNhvITdkQHeaOqnFXUIwxfiEeUt49Yoa2waRR7a5LdRAP3SVM8hz0KIBT4=" diff --git a/docs/_docs/05-configuration.md b/docs/_docs/05-configuration.md index 31832f3c..5bc9b333 100644 --- a/docs/_docs/05-configuration.md +++ b/docs/_docs/05-configuration.md @@ -351,6 +351,9 @@ Transform user comments into `_data` files that live inside of your GitHub repos **Note:** Looking to migrate comments from a WordPress based site? Give [this tool](https://github.com/arthurlacoste/wordpress-comments-jekyll-staticman) a try. {: .notice--info} +**Note:** Please note that as of September 2018, Staticman is reaching GitHub API limits due to its popularity, and it is recommended by its maintainer that users deploy their own instances for production (use `site.staticman.endpoint`). +{: .notice--warning} + ##### Add Staticman as a Collaborator 1. Allow Staticman push access to your GitHub repository by clicking on **Settings**, then the **Collaborators** tab and adding `staticmanapp` as a collaborator. @@ -389,8 +392,8 @@ These settings need to be added to your `_config.yml` file as well: repository : # GitHub username/repo-name e.g. "mmistakes/minimal-mistakes" comments: provider : "staticman_v2" -staticman: - branch : "master" + staticman: + branch : "master" ``` **Branch setting:** This is the branch comment files will be sent to via pull requests. If you host your site on GitHub Pages it will likely be `master` unless your repo is setup as a project --- use `gh-pages` in that case. diff --git a/test/_config.yml b/test/_config.yml index ca3572aa..f9995e48 100644 --- a/test/_config.yml +++ b/test/_config.yml @@ -47,6 +47,7 @@ staticman: type : "date" options: format : "iso8601" # "iso8601" (default), "timestamp-seconds", "timestamp-milliseconds" + endpoint : # URL of your own deployment with trailing slash, will fallback to the public instance atom_feed: path : # blank (default) uses feed.xml search : true # true, false (default)