aboutsummaryrefslogtreecommitdiffstats
path: root/code/frontpage/layouts/partials/sidebar/docs-menu.html
diff options
context:
space:
mode:
Diffstat (limited to 'code/frontpage/layouts/partials/sidebar/docs-menu.html')
-rw-r--r--code/frontpage/layouts/partials/sidebar/docs-menu.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/code/frontpage/layouts/partials/sidebar/docs-menu.html b/code/frontpage/layouts/partials/sidebar/docs-menu.html
new file mode 100644
index 0000000..b7baebb
--- /dev/null
+++ b/code/frontpage/layouts/partials/sidebar/docs-menu.html
@@ -0,0 +1,9 @@
+{{ if and .Site.Params.menu.section.auto .Site.Params.menu.section.collapsibleSidebar -}}
+ {{ partial "sidebar/auto-collapsible-menu.html" . -}}
+{{ else if and .Site.Params.menu.section.auto (not .Site.Params.menu.section.collapsibleSidebar) -}}
+ {{ partial "sidebar/auto-default-menu.html" . -}}
+{{ else if and (not .Site.Params.menu.section.auto) .Site.Params.menu.section.collapsibleSidebar -}}
+ {{ partial "sidebar/manual-collapsible-menu.html" . -}}
+{{ else if and (not .Site.Params.menu.section.auto) (not .Site.Params.menu.section.collapsibleSidebar) -}}
+ {{ partial "sidebar/manual-default-menu.html" . -}}
+{{ end -}} \ No newline at end of file