Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/AngeloStavrow/indigo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Kasuboski <josh.kasuboski@gmail.com>2020-01-16 04:57:08 +0300
committerJosh Kasuboski <josh.kasuboski@gmail.com>2020-01-16 04:57:08 +0300
commitb15facc5023c410dae9fe76afde85a4714892322 (patch)
tree48843260dee570c23ed6cc6418fae677dd07e9c7 /layouts
parent58177f2d69664e6d7c0eccebf9fc5bdc8ba63193 (diff)
Adds IndieWeb endpoints #73
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/head.html11
1 files changed, 9 insertions, 2 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 60cfd32..7c07bcd 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -17,8 +17,15 @@
{{ with .Site.Params.IndieWeb.GitHubUser }}<link rel="me" href="https://github.com/{{ . }}">{{ end }}
{{ with .Site.Params.IndieWeb.TwitterUser }}<link rel="me" href="https://twitter.com/{{ . }}">{{ end }}
{{ with .Site.Params.IndieWeb.MicroBlogUser }}<link rel="me" href="https://micro.blog/{{ . }}">{{ end }}
- <!-- IndieAuth endpoint -->
- <link rel="authorization_endpoint" href="https://indieauth.com/auth">
+ <!-- IndieWeb endpoints -->
+ <link rel="authorization_endpoint" href={{ .Site.Params.endpoints.Auth | default "https://indieauth.com/auth" }} />
+ <link rel="token_endpoint" href={{ .Site.Params.endpoints.Token | default "https://tokens.indieauth.com/token" }} />
+ {{ with .Site.Params.endpoints.Micropub }}
+ <link rel="micropub" href="{{ . }}" />{{ end }}
+ {{ with .Site.Params.endpoints.Microsub }}
+ <link rel="microsub" href="{{ . }}" />{{ end }}
+ {{ with .Site.Params.endpoints.Webmention}}
+ <link rel="webmention" href="{{ . }}" />{{ end }}
<!-- Other stuff to make the site work -->
<link rel="stylesheet" href={{ "css/fonts.css" | absURL }} />
<link rel="stylesheet" href={{ "css/style.css" | absURL }} />