blob: 5900d2ce5e40e4dd1fd965ccb18b6d32beb939de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
<head>
<meta charset="utf-8">
<!-- Site details -->
<title>{{ .Title }} | {{ .Site.Title }}</title>
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ .Site.Params.description }}{{ end }}">
<meta name="author" content="{{ .Site.Params.AuthorName }}">
<!-- Favicon details -->
<link rel="apple-touch-icon" sizes="180x180" href={{ "apple-touch-icon.png" | absURL }}>
<link rel="icon" type="image/png" sizes="32x32" href={{ "favicon-32x32.png" | absURL }}>
<link rel="icon" type="image/png" sizes="16x16" href={{ "favicon-16x16.png" | absURL }}>
<link rel="manifest" href={{ "site.webmanifest" | absURL }}>
<link rel="mask-icon" href={{ "safari-pinned-tab.svg" | absURL }} color="#00416a">
<meta name="msapplication-TileColor" content="#00aba9">
<meta name="theme-color" content="#ffffff">
<!-- IndieWeb identity -->
{{ with .Site.Params.IndieWeb.EmailAddress }}<link rel="me" href="mailto:{{ . }}">{{ end }}
{{ 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 }}
<!-- 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 }}
{{ with .Site.Params.paymentPointer }}
<!-- Web Monetization payment pointer -->
<meta name="monetization" content={{ . }}>
{{ end }}
<!-- Other stuff to make the site work -->
<link rel="stylesheet" href={{ "css/fonts.css" | absURL }} />
<link rel="stylesheet" href={{ "css/style.css" | absURL }} />
{{ if (fileExists "static/css/custom.css") -}}
<link rel="stylesheet" href={{ "css/custom.css" | absURL }} />
{{- end }}
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
|