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

baseof.html « _default « layouts - github.com/pfadfinder-konstanz/hugo-dpsg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 40a49eed264a21e2bb4ebf118eb071cc71a2e5f5 (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
57
58
59
60
61
<!DOCTYPE html>
<html class="no-js" lang="{{ .Site.Language.Lang }}">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>{{ block "title" . }}{{ if not .IsHome }}{{ .Title }} - {{ end }}{{ .Site.Title }}{{ end }}</title>
	<script>(function(d,e){d[e]=d[e].replace("no-js","js");})(document.documentElement,"className");</script>
	<meta name="description" content="{{ if .IsHome }}{{ .Site.Params.description }}{{ else }}{{ .Params.Description }}{{ end }}">
	{{- if .Site.Params.opengraph }}
		{{ template "_internal/opengraph.html" . }}
	{{- end }}
	{{- if .Site.Params.schema }}
		{{ template "_internal/schema.html" . }}
	{{- end }}
	{{- if .Site.Params.twitter_cards }}
		{{ template "_internal/twitter_cards.html" . }}
	{{- end }}

	{{ $style := resources.Get "css/style.css" | resources.ExecuteAsTemplate "css/style.css" . -}}
	<link rel="stylesheet" href="{{ $style.RelPermalink }}">
	{{- range .Site.Params.customCSS }}
		<link rel="stylesheet" href="{{ . | relURL }}">
	{{- end }}
	{{- range .Params.customCSS }}
		<link rel="stylesheet" href="{{ . | relURL }}">
	{{- end }}

	{{- with .OutputFormats.Get "rss" }}
		{{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}
	{{- end }}

	{{ partial "favicon" . }}
	{{ partial "perpagehead" . }}
	{{- if not .Site.IsServer }}
		{{ template "_internal/google_analytics_async.html" . }}
	{{- end }}
</head>
<body class="body">
	{{ partial "header" . }}
	<div class="container wrapper flex">
		<div class="primary">
		{{ block "main" . }}
			{{ with .Content }}
			<div class="content main__content clearfix">
				{{ . }}
			</div>
			{{ end }}
		{{ end }}
		</div>
		{{ partial "sidebar.html" . }}
	</div>
	{{ partial "footer" . }}
	<script async defer src="{{ "js/menu.js" | relURL }}"></script>
	{{ range .Site.Params.customJS -}}
		<script src="{{ . | relURL }}"></script>
	{{- end }}
	{{ if .Site.Params.customPartial }}{{ partial .Site.Params.customPartial . }}{{ end }}
	{{ partial "perpagebody" . }}
</body>
</html>