Welcome to mirror list, hosted at ThFree Co, Russian Federation.

head.html « partials « layouts - github.com/kc0bfv/ticky_tacky_dark.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1c9a652776c48114ea940e4adc55f2ea831ca4b7 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

{{- if isset .Params "description" -}} {{- $.Scratch.Set "description" .Params.description -}}
{{- else -}}
    {{- if isset .Site.Params "description" -}} {{- $.Scratch.Set "description" .Site.Params.description -}} {{- end -}}
{{- end }}
{{ with $.Scratch.Get "description" -}}<meta name="description" content="{{ . }}">{{- end }}
{{- if isset .Params "author" -}} {{- $.Scratch.Set "author" .Params.author -}}
{{- else -}}
    {{- if isset .Site.Params "author" -}} {{- $.Scratch.Set "author" .Site.Params.author -}} {{- end -}}
{{- end }}
{{ with $.Scratch.Get "author" -}}<meta name="author" content="{{ . }}">{{- end }}
<link rel="icon" href="{{ .Site.Params.favicon | relURL }}">

<title>{{ .Site.Title }}{{ with .Params.title }} - {{ . }}{{ end }}</title>

{{ with .Params.actualurl }}
<meta http-equiv="refresh" content="0;URL='{{ . | relURL }}'" />
{{ end }}

<!-- SEO Prefs -->
<meta name="robots" content="index,follow">
<meta name="referrer" content="origin-when-cross-origin">
{{ with .Site.Params.googlesiteverification }}<meta name="google-site-verification" content="{{ . }}">{{ end }}
{{ with .Site.Params.msvalidate }}<meta name="msvalidate.01" content="{{ . }}">{{ end }}

<!-- Site Generator -->
<meta name="generator" content="Hugo {{ hugo.Version }}">

<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">

<!--My CSS-->
<link rel="stylesheet" href="{{ "/css/myscreen.css" | relURL }}" type="text/css" media="screen">
<link rel="stylesheet" href="{{ "/css/myprint.css" | relURL }}" type="text/css" media="print">
<meta name="theme-color" content="black">

{{ template "_internal/google_analytics_async.html" . }}

<noscript>
    <style>
        {{ with .Site.Params.headerimages }}
            #headerimg {
                background-image: url({{ index . 0 | safeURL }});
                background-size: cover;
            }
        {{ end }}
        {{ with .Params.sideimages }}
            #sideimage {
                background-image: url({{ index . 0 | safeURL }});
                background-size: cover;
            }
        {{ end }}
    </style>
</noscript>