-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathhead.html
26 lines (21 loc) · 1012 Bytes
/
head.html
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
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="{{ if .IsHome }}{{ $.Site.Params.Subtitle }}{{ else }}{{ .Summary | plainify }}{{ end }}"
/>
<meta
name="keywords"
content="{{ with .Params.Keywords }}{{ delimit . ", " }}{{ else }}{{ $.Site.Params.Keywords }}{{ end }}"
/>
<meta name="robots" content="noodp" />
{{- if $.Site.Params.pwa.enabled }}<link rel="manifest" href="/manifest.json" />{{ end -}}
{{ template "_internal/opengraph.html" . }}
{{ template "_internal/twitter_cards.html" . }}
<link rel="canonical" href="{{ .Permalink }}" />
<link rel="shortcut icon" href="{{ "favicon.ico" | relURL }}" />
{{ partialCached "css.html" . }}
{{ if .Params.katex}}{{ partial "katex.html" . }}{{ end }}
<!-- https://gohugo.io/templates/internal/#use-the-google-analytics-template -->
{{- template "_internal/google_analytics.html" . -}}
{{- partial "custom_head.html" . -}}