1
mirror of https://github.com/jlelse/GoBlog synced 2024-06-01 14:24:27 +00:00
GoBlog/templates/micropub.gohtml
2020-10-06 19:07:48 +02:00

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 }}