IndieAuth and Micropub endpoint support
parent
e6255da64e
commit
509262ad4a
|
@ -15,6 +15,11 @@ paginate = 5
|
||||||
mainSections = [ "posts" ]
|
mainSections = [ "posts" ]
|
||||||
Webmention = "https://example.org/webmention"
|
Webmention = "https://example.org/webmention"
|
||||||
Pingback = "https://example.org/pingpack"
|
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
|
# Configuration Parameters for IndieWeb h-card
|
||||||
[params.Card]
|
[params.Card]
|
||||||
|
|
|
@ -22,4 +22,15 @@
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Site.Params.Pingback }}
|
{{- with .Site.Params.Pingback }}
|
||||||
<link rel="pingback" href="{{ . }}">
|
<link rel="pingback" href="{{ . }}">
|
||||||
|
{{- end -}}
|
||||||
|
<!-- IndieAuth Endpoints -->
|
||||||
|
{{- with .Site.Params.IndieAuth.Authorization }}
|
||||||
|
<link rel="authorization_endpoint" href="{{ . }}">
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Site.Params.IndieAuth.Token }}
|
||||||
|
<link rel="token_endpoint" href="{{ . }}">
|
||||||
|
{{- end -}}
|
||||||
|
<!-- Micropub Endpoint -->
|
||||||
|
{{- with .Site.Params.Micropub }}
|
||||||
|
<link rel="micropub" href="{{ . }}">
|
||||||
{{- end }}
|
{{- end }}
|
Loading…
Reference in New Issue