staticman
staticman copied to clipboard
[Discussion] Move Akismet site and apiKey properties to siteConfig?
I'm looking to make staticman working with multiple site but the Akismet configuration is confusing me.
Although they were mentioned before (#83, #339), whether it should be parts of staticman.yml
is not clear. There are 2 opinions exist:
-
site
should be the url where staticman instance hosted. -
site
should be the url of gh-pages where guest posting comments on.
I suggest moving those 2 properties to siteConfig for following reason:
- By forwarding but not owning
apiKey
, a single instance can process as many site as possible. - According those material,
site
is parts of Akismet's price calculation.- What’s an API key?
- Should I choose a free or paid subscription?
- Adding Sites to an Existing Plus Subscription
- Error codes 10007 and 10008
-
API docs:
### PARAMETERS `blog` (required) The front page or home URL of the instance making the request. For a blog or wiki this would be the front page. Note: Must be a full URI, including http://.
Discussions are welcome.