From 509262ad4a8f9f14682363bc9391a7f811f610f6 Mon Sep 17 00:00:00 2001 From: "Kevin C. Coram" Date: Sat, 4 Jan 2020 17:30:00 -0500 Subject: [PATCH] IndieAuth and Micropub endpoint support --- exampleSite/config.toml | 5 +++++ layouts/partials/identity.html | 11 +++++++++++ 2 files changed, 16 insertions(+) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 6b84303..baa7416 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -15,6 +15,11 @@ paginate = 5 mainSections = [ "posts" ] Webmention = "https://example.org/webmention" Pingback = "https://example.org/pingpack" + Micropub = "https://example.org/micropub" + + [params.IndieAuth] + Authorization = "https://example.org/auth" + Token = "https://example.org/token" # Configuration Parameters for IndieWeb h-card [params.Card] diff --git a/layouts/partials/identity.html b/layouts/partials/identity.html index 23738fb..d3ce38b 100644 --- a/layouts/partials/identity.html +++ b/layouts/partials/identity.html @@ -22,4 +22,15 @@ {{- end }} {{- with .Site.Params.Pingback }} +{{- end -}} + +{{- with .Site.Params.IndieAuth.Authorization }} + +{{- end }} +{{- with .Site.Params.IndieAuth.Token }} + +{{- end -}} + +{{- with .Site.Params.Micropub }} + {{- end }} \ No newline at end of file