From 7583c353dcaeedcecd7a93a7c66e7c401544500e Mon Sep 17 00:00:00 2001 From: Jamie Tanna Date: Sat, 30 Mar 2019 11:42:02 +0000 Subject: [PATCH] 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. --- config.toml | 2 ++ themes/tale-hugo | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config.toml b/config.toml index bb461d2f9..cbd969c52 100644 --- a/config.toml +++ b/config.toml @@ -21,6 +21,8 @@ enableGitInfo = true image = "/img/profile.png" WebMentionDomain = "www.jvt.me" WebMentionFormatUrl = "https://webmention.io/api/mentions.jf2?target=%s&per-page=100" + AuthorizationEndpoint = "https://indieauth.com/auth" + TokenEndpoint = "https://tokens.indieauth.com/token" [permalinks] posts = "/posts/:year/:month/:day/:slug/" diff --git a/themes/tale-hugo b/themes/tale-hugo index 0578eea04..4be47a43c 160000 --- a/themes/tale-hugo +++ b/themes/tale-hugo @@ -1 +1 @@ -Subproject commit 0578eea04ce5dce78505989369d62d6529a7c1cb +Subproject commit 4be47a43ce5600ac14584192f9db0372a4cc876b -- GitLab