IndieAuth and Micropub endpoint support
							parent
							
								
									e6255da64e
								
							
						
					
					
						commit
						509262ad4a
					
				|  | @ -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] | ||||
|  |  | |||
|  | @ -22,4 +22,15 @@ | |||
| {{- end }} | ||||
| {{- with .Site.Params.Pingback }} | ||||
| <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 }} | ||||
		Loading…
	
		Reference in New Issue