hugo-book-theme/layouts/posts/baseof.html
Paul Twohey 438f011ff5 fix menu, docs, and posts to work with strict Content-Security-Policy
When the Content-Security-Policy header has "style-src 'self';"
inine style elements like style="display: none" are not honored
by browsers, so style them display: none
2019-09-01 20:51:15 +02:00

27 lines
594 B
HTML

<!DOCTYPE html>
<html lang="{{ .Site.Language.Lang }}">
<head>
{{ partial "docs/html-head" . }}
{{ partial "docs/inject/head" . }}
</head>
<body>
<input type="checkbox" id="menu-control" />
<main class="flex container">
<aside class="book-menu fixed">
{{ partial "docs/menu" . }}
</aside>
<div class="book-posts">
{{ partial "docs/mobile-header" . }}
{{ template "main" . }}
{{ partial "docs/inject/footer" . }}
</div>
</main>
{{ partial "docs/inject/body" . }}
{{ template "_internal/google_analytics_async.html" . }}
</body>
</html>