1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-12-03 03:48:55 -05:00

re-add external API rewrites

This commit is contained in:
2021-06-04 19:00:29 -04:00
parent bce45a1af5
commit 4598ee538c
4 changed files with 31 additions and 11 deletions

View File

@@ -8,5 +8,4 @@
{{ partialCached "head/feeds" . -}}
{{ partial "head/canonical" . -}}
{{ partialCached "head/webmention" . -}}
{{ partialCached "head/indieauth" . -}}
{{ partial "head/schema" . -}}

View File

@@ -1,2 +0,0 @@
<link rel="authorization_endpoint" href="https://indieauth.com/auth">
<link rel="token_endpoint" href="https://tokens.indieauth.com/token">

View File

@@ -1,4 +1,4 @@
{{ with .Site.Params.social.webmentionIO }}
<link rel="webmention" href="https://webmention.io/{{ . }}/webmention">
<link rel="pingback" href="https://webmention.io/{{ . }}/xmlrpc">
{{ if .Site.Params.social.webmentionIO }}
<link rel="webmention" href="{{ "api/mention/" | absURL }}">
<link rel="pingback" href="{{ "api/ping/" | absURL }}">
{{ end }}