website/layouts/_default/baseof.html

35 lines
812 B
HTML
Raw Permalink Normal View History

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
{{ partialCached "css-global.html" . }}
<link rel="shortcut icon" href="/favicon.ico">
<title>{{ .Site.Title }} {{ block "title" . }} {{ with .Title }} | {{ . }} {{ end }} {{ end }}</title>
</head>
<body>
{{ partialCached "navbar.html" . }}
<main>
{{ block "main" . }} {{ end }}
</main>
{{ partialCached "footer.html" . }}
{{ partialCached "js-global.html" . }}
<script>
(function() {
var drawerLinks = navDrawer.getElementsByTagName("a");
for (var i=0; i<drawerLinks.length; i++) {
drawerLinks[i].addEventListener("click", function() {
navToggle.checked = false;
});
}
})()
</script>
</body>
</html>