aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/docs/inject/menu-after.html (renamed from layouts/partials/docs/inject/nav-after.html)0
-rw-r--r--layouts/partials/docs/inject/menu-before.html (renamed from layouts/partials/docs/inject/nav-before.html)0
-rw-r--r--layouts/partials/docs/menu-filetree.html2
-rw-r--r--layouts/partials/docs/mobile-header.html4
4 files changed, 5 insertions, 1 deletions
diff --git a/layouts/partials/docs/inject/nav-after.html b/layouts/partials/docs/inject/menu-after.html
index e69de29..e69de29 100644
--- a/layouts/partials/docs/inject/nav-after.html
+++ b/layouts/partials/docs/inject/menu-after.html
diff --git a/layouts/partials/docs/inject/nav-before.html b/layouts/partials/docs/inject/menu-before.html
index e69de29..e69de29 100644
--- a/layouts/partials/docs/inject/nav-before.html
+++ b/layouts/partials/docs/inject/menu-before.html
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" }} <!-- Single section of menu (recursive) -->
<ul>
{{ range .Section.Sections }}
- <li {{- if .Params.bookrootsection}} class="section" {{ end }}>
+ <li {{- if .Params.bookflatsection}} class="flat" {{ end }}>
{{- if .Content -}}
{{ template "book-page-link" (dict "Page" . "CurrentPage" $.CurrentPage) }}
{{- else -}}
diff --git a/layouts/partials/docs/mobile-header.html b/layouts/partials/docs/mobile-header.html
new file mode 100644
index 0000000..3c8866e
--- /dev/null
+++ b/layouts/partials/docs/mobile-header.html
@@ -0,0 +1,4 @@
+<label for="menu-control">
+ <img src="/svg/menu.svg" />
+</label>
+<strong>{{- template "title" . }}</strong> \ No newline at end of file