Plz use your own Staticman instance
VincentTam opened this issue · comments
Motiviation
To avoid sραm
Description
Staticman's maintainer has recommended everyone to use his/her own API instance and stay away from any public instance in the comments of eduardoboucas/staticman#317.
Other suggestion and comments
The endpoint is better set via a site parameter in _config.yml
. See https://github.com/mmistakes/minimal-mistakes/blob/d6444412c63aea5e47241ef536509fb1bfef4830/_includes/comments.html#L38 for example.
I wonder if it's possible to replace jQuery with jQuery slim so as to boost page load speed. However, jQuery slim doesn't include the $.ajax
method, which can be replaced by a xmlHttpRequest
.
pateskinasy.github.io/_includes/comments-providers/staticman_v2.html
Lines 10 to 13 in 067bd86
References
You might find the updated official quick start guide useful.