mirror of
https://github.com/jlelse/GoBlog
synced 2024-06-29 12:27:34 +00:00
14 lines
429 B
Plaintext
14 lines
429 B
Plaintext
|
{{ define "micropub" }}
|
||
|
{{ with micropub.Path }}
|
||
|
<link rel="micropub" href="{{ . }}" />
|
||
|
{{ end }}
|
||
|
{{ with micropub.AuthEndpoint }}
|
||
|
<link rel="authorization_endpoint" href="{{ . }}" />
|
||
|
{{ end }}
|
||
|
{{ with micropub.TokenEndpoint }}
|
||
|
<link rel="token_endpoint" href="{{ . }}" />
|
||
|
{{ end }}
|
||
|
{{ with micropub.Authn }}
|
||
|
<link href="{{ . }}" rel="me authn">
|
||
|
{{ end }}
|
||
|
{{ end }}
|