diff options
Diffstat (limited to 'layouts/_default/baseof.html')
| -rw-r--r-- | layouts/_default/baseof.html | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index b33c566..190acab 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -2,18 +2,7 @@ <html lang="{{ site.LanguageCode | default site.Language.Lang }}" {{- with partialCached "func/GetLanguageDirection" "GetLanguageDirection" }} dir="{{ . }}" {{- end }}> {{- 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 -}} - - <!-- - Wrap is the content to shift when toggling the sidebar. - We wrap the content to avoid any CSS collisions with our - real content. - --> + {{ if .Params.toc }}{{ partial "sidebar-toc.html" . }}{{ else }}{{ partial "sidebar.html" . }}{{ end }} <div class="wrap"> <header class="masthead"> <div class="container"> @@ -30,7 +19,5 @@ </div> <label for="sidebar-checkbox" class="sidebar-toggle"></label> - - {{- partial "scripts.html" . -}} </body> </html> |
