summaryrefslogtreecommitdiffstats
path: root/layouts/_default/baseof.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r--layouts/_default/baseof.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 88882e5..13630ce 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -2,6 +2,12 @@
<html lang="{{ .Site.Language.Lang }}">
{{- partial "head.html" . -}}
<body class="theme-base-{{ .Site.Params.color_scheme }}">
+ <!-- This if statement decides which sidebar to use -->
+ {{- if .Params.toc -}}
+ {{- partial "sidebar-toc.html" . -}}
+ {{- else -}}
+ {{- partial "sidebar.html" . -}}
+ {{- end -}}
</body>
</html>