jlelse
/
Indieroad
Archived
1
Fork 0
This repository has been archived on 2020-05-21. You can view files and clone it, but cannot push or open issues or pull requests.
Indieroad/layouts/partials/indiewebhead.html

17 lines
576 B
HTML
Raw Normal View History

2019-12-12 08:09:31 +00:00
{{- if .Param "indieweb.enabled" }}
{{- with .Param "indieweb.endpoints.webmention" }}
<link rel="webmention" href="{{ . }}" />
{{- end }}
{{- with .Param "indieweb.endpoints.pingback" }}
<link rel="pingback" href="{{ . }}" />
{{- end }}
{{- with .Param "indieweb.endpoints.auth_endpoint" }}
<link rel="authorization_endpoint" href="{{ . }}" />
{{- end }}
{{- with .Param "indieweb.endpoints.token_endpoint" }}
<link rel="token_endpoint" href="{{ . }}" />
{{- end }}
{{- with .Param "indieweb.endpoints.micropub" }}
<link rel="micropub" href="{{ . }}" />
{{- end }}
{{- end }}