Skip to content

Commit

Permalink
Merge pull request #11 from VincentTam/smapich
Browse files Browse the repository at this point in the history
README update due to feedback in #9
  • Loading branch information
one committed Jul 7, 2019
2 parents 8f06c0a + 2a58495 commit 15982b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ By default, [Staticman](https://staticman.net) comments are disabled. If you wou
branch = "master"
```

In case of empty `endpoint`, it will fallback to the public development instance.
In case of empty `endpoint`, it will fallback to the official production instance.

3. Proceed to setup `staticman.yml`. Note that this YML file has to be **at the root of your Git repository**. See the `exampleSite/` and the [Staticman docs](https://staticman.net/docs/) for detailed information of each parameter used in this YML file.

Expand All @@ -71,7 +71,7 @@ Optional: It is suggested to enable [reCAPTCHA](https://developers.google.com/re

:information_source: This [Binary Mist article](https://binarymist.io/blog/2018/02/24/hugo-with-staticman-commenting-and-subscriptions/) could also be quite helpful :)

:information_source: By default, this theme uses Staticman v3 instead of the public instance at v2 due to a requests' quota issue reported in issue [eduardoboucas/staticman#222](https://github.com/eduardoboucas/staticman/issues/222).
:information_source: By default, this theme uses the official production instance at v3 instead of v2 due to a requests' quota issue reported in issue [eduardoboucas/staticman#222](https://github.com/eduardoboucas/staticman/issues/222).

:warning: Since Staticman is an involving project, things might work differently than they do at the moment of this writing.

Expand Down

4 comments on commit 15982b8

@onweru
Copy link
Owner

@onweru onweru commented on 15982b8 Aug 4, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@VincentTam , did you have any luck with the 500 error issue eduardoboucas/staticman#243 (comment)?

@VincentTam
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@onweru From my experience, a 500 error with simply {sucess: false} is usually due to incorrect reCAPTCHA settings. In the reCAPTCHA section of staticman.yml, if enabled: false but siteKey and secret are either null or non-empty string, such error would occur. See my experiement in daattali/beautiful-jekyll#514 (comment) for an example.

@onweru
Copy link
Owner

@onweru onweru commented on 15982b8 Aug 4, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@VincentTam, thank you. I will follow the thread and let you know how it goes.

@VincentTam
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another possibility is that the secret in the YML file doesn't correspond to the rsaPrivateKey API parameter of the Staticman instance.

Please sign in to comment.