diff options
-rw-r--r-- | assets/book.scss | 5 | ||||
-rw-r--r-- | layouts/docs/baseof.html | 4 | ||||
-rw-r--r-- | layouts/posts/baseof.html | 2 |
3 files changed, 8 insertions, 3 deletions
diff --git a/assets/book.scss b/assets/book.scss index 5922ab0..dfbfa17 100644 --- a/assets/book.scss +++ b/assets/book.scss @@ -54,6 +54,11 @@ img { vertical-align: baseline; } +// hide menu checkbox with CSS +#menu-control { + display: none; +} + aside nav ul { padding: 0; margin: 0; diff --git a/layouts/docs/baseof.html b/layouts/docs/baseof.html index 1592860..f35a6dc 100644 --- a/layouts/docs/baseof.html +++ b/layouts/docs/baseof.html @@ -7,7 +7,7 @@ </head> <body> - <input type="checkbox" style="display: none" id="menu-control" /> + <input type="checkbox" id="menu-control" /> <main class="flex container"> <aside class="book-menu fixed"> @@ -23,7 +23,7 @@ {{ template "toc" . }} </main> - + {{ partial "docs/inject/body" . }} {{ template "_internal/google_analytics_async.html" . }} </body> diff --git a/layouts/posts/baseof.html b/layouts/posts/baseof.html index ba4b91c..9821118 100644 --- a/layouts/posts/baseof.html +++ b/layouts/posts/baseof.html @@ -7,7 +7,7 @@ </head> <body> - <input type="checkbox" style="display: none" id="menu-control" /> + <input type="checkbox" id="menu-control" /> <main class="flex container"> <aside class="book-menu fixed"> {{ partial "docs/menu" . }} |