22 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			HTML
		
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			HTML
		
	
	
	
{{ if ne ($.Param "languagedir") "rtl" }}
 | 
						|
<div class="wrapper__right" dir="ltr">
 | 
						|
  {{ 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" data-dir="ltr">
 | 
						|
          <h6 class="toc__title toc__title--outer">{{ i18n "toc-label" }}</h6>
 | 
						|
          {{ if $.Param "enableTocSwitch" }}
 | 
						|
          <label class="switch">
 | 
						|
            <input id="visible-toc" aria-label="Visible TOC" type="checkbox" {{ if $.Param "hideToc" }}{{ else }}checked{{ end }}>
 | 
						|
            <span class="slider round"></span>
 | 
						|
          </label>
 | 
						|
          {{ end }}
 | 
						|
        </div>
 | 
						|
        <div class="toc toc__outer {{ if $.Param "hideToc" }}hide{{ end }}" data-dir="ltr" data-folding="{{ if $.Param "tocFolding" }}true{{ else }}false{{ end }}">
 | 
						|
          {{ .TableOfContents }}
 | 
						|
        </div>
 | 
						|
      {{ end }}
 | 
						|
    {{ end }}
 | 
						|
  {{ end }}
 | 
						|
</div>
 | 
						|
{{ end }} |