Skip to content

Commit 1765677

Browse files
authoredFeb 4, 2021
Remove references to any public Staticman API instance (#775)
1 parent fe0a48e commit 1765677

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed
 

‎_config.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -161,19 +161,19 @@ footer-link-col: "#404040"
161161
# theme: github-light # Utterances theme
162162
# label: blog-comments # Label that will be assigned to GitHub Issues created by Utterances
163163

164-
# To use Staticman comments, first invite `staticmanlab` as a collaborator to your repository and
165-
# accept the invitation by going to `https://staticman3.herokuapp.com/v3/connect/github/<username>/<repo-name>`.
166-
# Then uncomment the following section and fill in "repository" and "branch".
167-
# If you want to use reCaptcha for staticman (optional for spam protection), then fill
168-
# in the "siteKey" and "secret" parameters below and also in `staticman.yml`.
169-
# See more details at https://staticman.net/
164+
# To use Staticman comments, uncomment the following section. You may leave the reCaptcha
165+
# section commented if you aren't using reCaptcha for spam protection.
166+
# Using Staticman requires advanced knowledge, please consult
167+
# https://github.com/eduardoboucas/staticman/ and https://staticman.net/ for further
168+
# instructions. For any support with staticman please direct questions to staticman and
169+
# not to BeautifulJekyll.
170170
#staticman:
171171
# repository : # GitHub username/repository eg. "daattali/beautiful-jekyll"
172172
# branch : master # If you're not using `master` branch, then you also need to update the `branch` parameter in `staticman.yml`
173-
# endpoint : # (optional) URL of your own deployment, with a trailing slash eg. https://<your-api>/v3/entry/github/ (will fallback to a public GitLab instance)
174-
# reCaptcha:
175-
# siteKey : # Use your own site key, you need to apply for one on Google
176-
# secret : # ENCRYPT your password by going to https://staticman3.herokuapp.com/v3/encrypt/<your-site-secret>
173+
# endpoint : # URL of your deployment, with a trailing slash eg. "https://<your-api>/v3/entry/github/"
174+
# reCaptcha: # (optional, set these parameters in `staticman.yml` as well)
175+
# siteKey : # You need to apply for a site key on Google
176+
# secret : # Encrypt your password by going to https://<your-own-api>/v3/encrypt/<your-site-secret>
177177

178178
# --- Misc --- #
179179

‎assets/js/staticman.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ layout: null
1111
$(form).addClass('disabled');
1212

1313
{% assign sm = site.staticman -%}
14-
var endpoint = '{{ sm.endpoint | default: "https://staticman3.herokuapp.com/v3/entry/github/" }}';
14+
var endpoint = '{{ sm.endpoint }}';
1515
var repository = '{{ sm.repository }}';
1616
var branch = '{{ sm.branch }}';
1717

‎staticman.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# To encrypt strings use the following endpoint:
66
# https://{STATICMAN API INSTANCE}/v3/encrypt/{TEXT TO BE ENCRYPTED}
77
# {STATICMAN API INSTANCE} should match the `endpoint` in the theme config
8-
# file. It defaults to "staticman3.herokuapp.com".
8+
# file.
99

1010
comments:
1111
# (*) REQUIRED

0 commit comments

Comments
 (0)
Please sign in to comment.