GoBlog/templates/micropub.gohtml

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