2020-01-05 14:36:30 +00:00
|
|
|
<!doctype html>
|
2022-12-07 18:31:53 +00:00
|
|
|
<html lang="{{ site.Language }}">
|
2022-11-10 13:48:26 +00:00
|
|
|
{{ partial "head.html" . }}
|
|
|
|
<body>
|
|
|
|
<aside>
|
|
|
|
<header>
|
2022-11-19 14:14:56 +00:00
|
|
|
<a href="/"><img src="{{ printf "/static/img/logo_%s.svg" .Site.Language.Lang | absURL }}" alt="data coop logo" width="240" height="140"></a>
|
2022-11-15 17:17:19 +00:00
|
|
|
|
2022-11-10 13:48:26 +00:00
|
|
|
<div class="nav-toggle" id="nav-toggle-header">
|
|
|
|
<span id="nav-toggle-a"></span>
|
|
|
|
<span id="nav-toggle-b"></span>
|
|
|
|
<span id="nav-toggle-c"></span>
|
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
{{ partial "nav.html" . }}
|
2023-01-21 17:26:59 +00:00
|
|
|
<footer>
|
|
|
|
{{ partial "footer.html" . }}
|
|
|
|
</footer>
|
2022-11-10 13:48:26 +00:00
|
|
|
</aside>
|
|
|
|
<main>
|
|
|
|
<article>
|
|
|
|
{{ block "main" . }}{{ end }}
|
|
|
|
</article>
|
|
|
|
</main>
|
2022-11-09 11:16:43 +00:00
|
|
|
<script>
|
2022-11-15 17:17:19 +00:00
|
|
|
var menu = document.getElementById("nav-toggle-header");
|
2023-01-21 17:26:59 +00:00
|
|
|
var nav = document.getElementsByTagName('aside')[0];
|
2022-11-09 11:16:43 +00:00
|
|
|
|
|
|
|
function toggleMenu() {
|
|
|
|
if ( menu.classList.contains("display") ) {
|
2022-11-15 17:17:19 +00:00
|
|
|
menu.classList.remove("display");
|
|
|
|
nav.classList.remove("display");
|
2022-11-09 11:16:43 +00:00
|
|
|
} else {
|
2022-11-15 17:17:19 +00:00
|
|
|
menu.classList.add("display");
|
|
|
|
nav.classList.add("display");
|
2022-11-09 11:16:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-11-15 17:17:19 +00:00
|
|
|
menu.addEventListener("click", toggleMenu);
|
2022-11-09 11:16:43 +00:00
|
|
|
</script>
|
2022-11-10 13:48:26 +00:00
|
|
|
</body>
|
2020-01-05 14:36:30 +00:00
|
|
|
</html>
|