toc bug fix
This commit is contained in:
parent
adc8e4b9ca
commit
29777fe6ab
|
@ -1,5 +1,6 @@
|
||||||
<div class="wrapper__right">
|
<div class="wrapper__right">
|
||||||
{{ if and (eq ($.Param "tocPosition") "outer") .IsPage }}
|
{{ if and (eq ($.Param "tocPosition") "outer") .IsPage }}
|
||||||
|
{{ if and (ne .Type "about") (ne .Type "contact") (ne .Type "gallery") }}
|
||||||
{{ if or ($.Param "enableToc") ($.Param "toc") }}
|
{{ if or ($.Param "enableToc") ($.Param "toc") }}
|
||||||
<div class="toc__flexbox--outer" data-position="fixed">
|
<div class="toc__flexbox--outer" data-position="fixed">
|
||||||
<h6 class="toc__title toc__title--outer">{{ i18n "toc-label" }}</h6>
|
<h6 class="toc__title toc__title--outer">{{ i18n "toc-label" }}</h6>
|
||||||
|
@ -15,4 +16,5 @@
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue