hugo-theme-zzo/layouts/_default/baseof.html

37 lines
1.4 KiB
HTML
Raw Normal View History

2019-11-04 13:09:44 +00:00
<!DOCTYPE html>
<html lang="{{ .Site.Language.Lang }}" dir="{{ $.Param "languagedir" | default "ltr" }}">
2020-02-02 08:38:26 +00:00
<head prefix="og: http://ogp.me/ns#">
2020-03-24 00:07:41 +00:00
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
2020-02-20 14:08:34 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1">
2020-01-23 13:00:38 +00:00
<meta http-equiv="X-UA-Compatible" content="IE=edge">
2019-11-04 13:09:44 +00:00
<title>{{ block "title" . }}{{ .Title }} {{ .Site.Title }}{{ end }}</title>
2019-12-11 02:18:44 +00:00
{{ partial "head/scripts" . }}
{{ partialCached "head/styles" . }}
2019-11-04 13:09:44 +00:00
{{ partial "head/meta" . }}
{{ partial "head/meta_json_ld" . }}
{{ partial "head/services" . }}
{{ partial "head/custom-head" . }}
2019-11-04 13:09:44 +00:00
</head>
2019-11-05 15:13:43 +00:00
<body id="root" class="theme__{{ index .Site.Params.themeOptions 0 }}">
2019-11-25 00:51:48 +00:00
<script>
var localTheme = localStorage.getItem('theme');
2019-12-08 14:29:02 +00:00
if (localTheme) {
2020-01-23 13:00:38 +00:00
document.getElementById('root').className = 'theme__' + localTheme;
2020-02-20 14:08:34 +00:00
}
</script>
<div id="container">
{{ partial "body/main-left" . }}
2020-01-24 12:24:17 +00:00
<div class="wrapper" data-type="{{ .Type }}" data-kind="{{ .Kind }}">
2019-11-04 13:09:44 +00:00
{{ partial "navbar/site-nav" . }}
{{ partial "header/site-header" . }}
{{ block "main" . }}{{ end }}
{{ partial "body/custom-body" . }}
2019-11-04 13:09:44 +00:00
{{ partial "footer/site-footer" . }}
</div>
{{ partial "body/main-right" . }}
2019-12-08 14:29:02 +00:00
</div>
2019-11-04 13:09:44 +00:00
</body>
2019-11-05 15:13:43 +00:00
</html>