blob: 56198d39eca4a7ea27b64a1820db66f570e97ebf (
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
|
<meta charset="utf-8"/>
{{- $title := ( .Title ) -}}
{{- $siteTitle := ( .Site.Title ) -}}
{{ if .IsHome -}}
<title>{{ $siteTitle }}{{ if isset .Site.Params "subtitle" }} - {{ .Site.Params.Subtitle }}{{ end }} </title>
{{ else -}}
<title>{{ $title }} - {{ $siteTitle }}</title>
{{ end -}}
{{ if isset .Site.Params "favicon" -}}
<link rel="icon" type="image/png" href={{ .Site.Params.favicon }} />
{{ end -}}
{{ with .OutputFormats.Get "rss" -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
{{- template "_internal/opengraph.html" . -}}
{{- template "_internal/twitter_cards.html" . -}}
{{- template "_internal/schema.html" . -}}
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="{{ "/css/normalize.min.css" | absURL }}" />
<link rel="stylesheet" type="text/css" href="/css/style.css" />
<link href="https://fonts.googleapis.com/css?family=Inter|Source+Serif+Pro" rel="stylesheet" type="text/css" />
{{ if and (isset .Site.Params "social") (isset .Site.Params "feathericonscdn") (eq .Site.Params.featherIconsCDN true) -}}
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
{{- else if (isset .Site.Params "social") -}}
<script src="/js/feather.min.js"></script>
{{ end }}
{{ partial "favicon.html" . }}
|