aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2021-01-26 22:20:17 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2021-01-26 22:20:30 +0100
commitd9fe59a6e9104797e8e588e919ec7008d6204b8e (patch)
treec407f742bddd3b486f4e596ec6b4f46c4d8a6d2f /layouts/_default
parent012ccee53d9154e4143f86ba40e492075db861ce (diff)
Refactor aside menus, add extra wrapper
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/baseof.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index e7ff71e..8974985 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -12,7 +12,9 @@
<input type="checkbox" class="hidden toggle" id="toc-control" />
<main class="container flex">
<aside class="book-menu">
- {{ template "menu" . }} <!-- Left menu Content -->
+ <div class="book-menu-content">
+ {{ template "menu" . }} <!-- Left menu Content -->
+ </div>
</aside>
<div class="book-page">
@@ -36,11 +38,9 @@
{{ if default true (default .Site.Params.BookToC .Params.BookToC) }}
<aside class="book-toc">
- <nav>
- {{ partial "docs/inject/toc-before" . }}
+ <div class="book-toc-content">
{{ template "toc" . }} <!-- Table of Contents -->
- {{ partial "docs/inject/toc-after" . }}
- </nav>
+ </div>
</aside>
{{ end }}
</main>