From 78bd5938a392318601bfca4c2e6783727dd33d37 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Fri, 28 Sep 2018 01:12:07 +0200 Subject: Improve sass styles --- layouts/docs/baseof.html | 23 +++++++++++++---------- layouts/partials/docs/inject/menu-after.html | 0 layouts/partials/docs/inject/menu-before.html | 0 layouts/partials/docs/inject/nav-after.html | 0 layouts/partials/docs/inject/nav-before.html | 0 layouts/partials/docs/menu-filetree.html | 2 +- layouts/partials/docs/mobile-header.html | 4 ++++ 7 files changed, 18 insertions(+), 11 deletions(-) create mode 100644 layouts/partials/docs/inject/menu-after.html create mode 100644 layouts/partials/docs/inject/menu-before.html delete mode 100644 layouts/partials/docs/inject/nav-after.html delete mode 100644 layouts/partials/docs/inject/nav-before.html create mode 100644 layouts/partials/docs/mobile-header.html (limited to 'layouts') diff --git a/layouts/docs/baseof.html b/layouts/docs/baseof.html index 7eb4326..9beb261 100644 --- a/layouts/docs/baseof.html +++ b/layouts/docs/baseof.html @@ -8,11 +8,14 @@ -
+
- +
- + {{ partial "docs/mobile-header" . }}
-
+
{{- .Content -}} -
+
{{ $showToC := default (default true .Site.Params.BookShowToC) .Params.bookshowtoc }} {{ if and ($showToC) (.Page.TableOfContents) }} -
+
+ {{ end }}
diff --git a/layouts/partials/docs/inject/menu-after.html b/layouts/partials/docs/inject/menu-after.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/partials/docs/inject/menu-before.html b/layouts/partials/docs/inject/menu-before.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/partials/docs/inject/nav-after.html b/layouts/partials/docs/inject/nav-after.html deleted file mode 100644 index e69de29..0000000 diff --git a/layouts/partials/docs/inject/nav-before.html b/layouts/partials/docs/inject/nav-before.html deleted file mode 100644 index e69de29..0000000 diff --git a/layouts/partials/docs/menu-filetree.html b/layouts/partials/docs/menu-filetree.html index 490c350..5c1f11b 100644 --- a/layouts/partials/docs/menu-filetree.html +++ b/layouts/partials/docs/menu-filetree.html @@ -8,7 +8,7 @@ {{ define "book-section" }}