Commit 7583c353 authored by Jamie Tanna's avatar Jamie Tanna
Browse files

Expose IndieAuth configuration

Instead of hardcoding this, it should be configurable by the site's
configuration parameters. This will make it easier to switch later in
time, as well as makes it easier to send this patch upstream.

As part of #416.
parent f3e513d7
...@@ -21,6 +21,8 @@ enableGitInfo = true ...@@ -21,6 +21,8 @@ enableGitInfo = true
image = "/img/profile.png" image = "/img/profile.png"
WebMentionDomain = "www.jvt.me" WebMentionDomain = "www.jvt.me"
WebMentionFormatUrl = "https://webmention.io/api/mentions.jf2?target=%s&per-page=100" WebMentionFormatUrl = "https://webmention.io/api/mentions.jf2?target=%s&per-page=100"
AuthorizationEndpoint = "https://indieauth.com/auth"
TokenEndpoint = "https://tokens.indieauth.com/token"
[permalinks] [permalinks]
posts = "/posts/:year/:month/:day/:slug/" posts = "/posts/:year/:month/:day/:slug/"
......
Subproject commit 0578eea04ce5dce78505989369d62d6529a7c1cb Subproject commit 4be47a43ce5600ac14584192f9db0372a4cc876b
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment