소스 검색

Add IndieAuth

Track3 1 년 전
부모
커밋
12cdbd8c91
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  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 -}}