Remove references to any public Staticman API instance (#775)

This commit is contained in:
Vincent Tam 2021-02-04 17:28:36 +01:00 committed by GitHub
parent fe0a48eea0
commit 1765677587
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 12 deletions

View File

@ -161,19 +161,19 @@ footer-link-col: "#404040"
# theme: github-light # Utterances theme # theme: github-light # Utterances theme
# label: blog-comments # Label that will be assigned to GitHub Issues created by Utterances # label: blog-comments # Label that will be assigned to GitHub Issues created by Utterances
# To use Staticman comments, first invite `staticmanlab` as a collaborator to your repository and # To use Staticman comments, uncomment the following section. You may leave the reCaptcha
# accept the invitation by going to `https://staticman3.herokuapp.com/v3/connect/github/<username>/<repo-name>`. # section commented if you aren't using reCaptcha for spam protection.
# Then uncomment the following section and fill in "repository" and "branch". # Using Staticman requires advanced knowledge, please consult
# If you want to use reCaptcha for staticman (optional for spam protection), then fill # https://github.com/eduardoboucas/staticman/ and https://staticman.net/ for further
# in the "siteKey" and "secret" parameters below and also in `staticman.yml`. # instructions. For any support with staticman please direct questions to staticman and
# See more details at https://staticman.net/ # not to BeautifulJekyll.
#staticman: #staticman:
# repository : # GitHub username/repository eg. "daattali/beautiful-jekyll" # repository : # GitHub username/repository eg. "daattali/beautiful-jekyll"
# branch : master # If you're not using `master` branch, then you also need to update the `branch` parameter in `staticman.yml` # branch : master # If you're not using `master` branch, then you also need to update the `branch` parameter in `staticman.yml`
# 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) # endpoint : # URL of your deployment, with a trailing slash eg. "https://<your-api>/v3/entry/github/"
# reCaptcha: # reCaptcha: # (optional, set these parameters in `staticman.yml` as well)
# siteKey : # Use your own site key, you need to apply for one on Google # siteKey : # You need to apply for a site key on Google
# secret : # ENCRYPT your password by going to https://staticman3.herokuapp.com/v3/encrypt/<your-site-secret> # secret : # Encrypt your password by going to https://<your-own-api>/v3/encrypt/<your-site-secret>
# --- Misc --- # # --- Misc --- #

View File

@ -11,7 +11,7 @@ layout: null
$(form).addClass('disabled'); $(form).addClass('disabled');
{% assign sm = site.staticman -%} {% assign sm = site.staticman -%}
var endpoint = '{{ sm.endpoint | default: "https://staticman3.herokuapp.com/v3/entry/github/" }}'; var endpoint = '{{ sm.endpoint }}';
var repository = '{{ sm.repository }}'; var repository = '{{ sm.repository }}';
var branch = '{{ sm.branch }}'; var branch = '{{ sm.branch }}';

View File

@ -5,7 +5,7 @@
# To encrypt strings use the following endpoint: # To encrypt strings use the following endpoint:
# https://{STATICMAN API INSTANCE}/v3/encrypt/{TEXT TO BE ENCRYPTED} # https://{STATICMAN API INSTANCE}/v3/encrypt/{TEXT TO BE ENCRYPTED}
# {STATICMAN API INSTANCE} should match the `endpoint` in the theme config # {STATICMAN API INSTANCE} should match the `endpoint` in the theme config
# file. It defaults to "staticman3.herokuapp.com". # file.
comments: comments:
# (*) REQUIRED # (*) REQUIRED