{{ if and (ne .Params.toc false) (ne .TableOfContents "<nav id=\"TableOfContents\"></nav>") -}}
  <div class="page-links">
    <h3 class="righthand-title">Quick Nav</h3>
    <div class="tocLinks">
      {{ .TableOfContents }}
    </div>
  </div>
{{ end -}}

{{- $righthand := resources.Get "js/righthand.js" -}}
  {{ $scrollRighthand := resources.Get "js/scrollRighthand.js" }}
  {{ $scrollRighthand := $scrollRighthand | minify }}

  
{{ $scss := resources.Get "scss/righthand.scss" }}
{{ $righthand_style := $s