enableToc ui bug fixed
This commit is contained in:
parent
484bb85ce1
commit
43a4d17a74
|
@ -3,7 +3,7 @@
|
||||||
{{ $enquire := resources.Get "js/enquire.min.js" | resources.Fingerprint }}
|
{{ $enquire := resources.Get "js/enquire.min.js" | resources.Fingerprint }}
|
||||||
<script src="{{ $enquire.RelPermalink }}"></script>
|
<script src="{{ $enquire.RelPermalink }}"></script>
|
||||||
|
|
||||||
<main class="{{ if $.Param "enableSidebar" }}main-main{{ else }}main{{ end }}">
|
<main class="{{ if $.Param "enableToc" }}main-main{{ else }}main{{ end }}">
|
||||||
{{ if eq .Site.Params.enableBreadcrumb true }}
|
{{ if eq .Site.Params.enableBreadcrumb true }}
|
||||||
{{ partial "body/breadcrumb" . }}
|
{{ partial "body/breadcrumb" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
{{ if $.Param "enableSidebar" }}
|
{{ if $.Param "enableSidebar" }}
|
||||||
<aside class="main-side">
|
<aside class="{{ if $.Param "enableToc" }}main-side{{ end }}">
|
||||||
{{ partial "sidebar/sidebar-single" . }}
|
{{ partial "sidebar/sidebar-single" . }}
|
||||||
</aside>
|
</aside>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in New Issue