Browse Source

Add IndieAuth

Track3 1 year ago
parent
commit
12cdbd8c91
1 changed files with 4 additions and 1 deletions
  1. 4 1
      layouts/_default/baseof.html

+ 4 - 1
layouts/_default/baseof.html

@@ -22,8 +22,11 @@
 	<title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{ . }} - {{ end }}{{ .Site.Title }}{{ end }}</title>
 	<link rel="dns-prefetch" href="//pb.zak.ee">
 	<link rel="dns-prefetch" href="//cravatar.cn">
+	<link rel="openid.delegate" href="https://zak.ee/">
+	<link rel="openid.server openid2.provider" href="https://indieauth.com/openid">
+	<link rel="authorization_endpoint" href="https://indieauth.com/auth">
 	{{ range .AlternativeOutputFormats -}}
-	{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}
+	{{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}
 	{{ end -}}
 	{{ $style := resources.Get "scss/style.scss" | resources.ExecuteAsTemplate "css/style.css" . | toCSS | minify |
 	fingerprint -}}