2021-02-18 21:44:01 +01:00
|
|
|
{{- partial "init.html" . -}}
|
|
|
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="{{ .Site.LanguageCode }}">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<meta name="robots" content="noodp" />
|
2022-08-14 19:01:21 +02:00
|
|
|
<title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title>
|
2021-02-18 21:44:01 +01:00
|
|
|
|
|
|
|
{{- partial "head/meta.html" . -}}
|
|
|
|
{{- partial "head/link.html" . -}}
|
|
|
|
{{- partial "head/seo.html" . -}}
|
|
|
|
</head>
|
2022-08-14 19:01:21 +02:00
|
|
|
<body data-header-desktop="{{ .Site.Params.header.desktopMode }}" data-header-mobile="{{ .Site.Params.header.mobileMode }}">
|
2021-02-18 21:44:01 +01:00
|
|
|
{{- /* Check theme isDark before body rendering */ -}}
|
|
|
|
{{- $theme := .Site.Params.defaulttheme -}}
|
2022-08-14 19:01:21 +02:00
|
|
|
<script type="text/javascript">(window.localStorage && localStorage.getItem('theme') ? localStorage.getItem('theme') === 'dark' : ('{{ $theme }}' === 'auto' ? window.matchMedia('(prefers-color-scheme: dark)').matches : '{{ $theme }}' === 'dark')) && document.body.setAttribute('theme', 'dark');</script>
|
2021-02-18 21:44:01 +01:00
|
|
|
|
|
|
|
<div id="mask"></div>
|
|
|
|
|
|
|
|
{{- /* Body wrapper */ -}}
|
|
|
|
<div class="wrapper">
|
|
|
|
{{- partial "header.html" . -}}
|
|
|
|
<main class="main">
|
|
|
|
<div class="container">
|
|
|
|
{{- block "content" . }}{{ end -}}
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
{{- partial "footer.html" . -}}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="fixed-buttons">
|
|
|
|
{{- /* top button */ -}}
|
|
|
|
<a href="#" id="back-to-top" class="fixed-button" title="{{ T `backToTop` }}">
|
2022-08-14 19:01:21 +02:00
|
|
|
<i class="fas fa-arrow-up fa-fw" aria-hidden="true"></i>
|
2021-02-18 21:44:01 +01:00
|
|
|
</a>
|
|
|
|
|
|
|
|
{{- /* comment button */ -}}
|
|
|
|
<a href="#" id="view-comments" class="fixed-button" title="{{ T `viewComments` }}">
|
2022-08-14 19:01:21 +02:00
|
|
|
<i class="fas fa-comment fa-fw" aria-hidden="true"></i>
|
2021-02-18 21:44:01 +01:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{- /* Load JavaScript scripts and CSS */ -}}
|
|
|
|
{{- partial "assets.html" . -}}
|
|
|
|
</body>
|
|
|
|
</html>
|