toc bug fix

This commit is contained in:
zzossig 2020-01-22 21:22:19 +09:00
parent adc8e4b9ca
commit 29777fe6ab
1 changed files with 15 additions and 13 deletions

View File

@ -1,5 +1,6 @@
<div class="wrapper__right">
{{ if and (eq ($.Param "tocPosition") "outer") .IsPage }}
{{ if and (ne .Type "about") (ne .Type "contact") (ne .Type "gallery") }}
{{ if or ($.Param "enableToc") ($.Param "toc") }}
<div class="toc__flexbox--outer" data-position="fixed">
<h6 class="toc__title toc__title--outer">{{ i18n "toc-label" }}</h6>
@ -15,4 +16,5 @@
</div>
{{ end }}
{{ end }}
{{ end }}
</div>