t == 'post' and site.toc and page.toc %}
  <div id="toc-wrapper" class="pl-0 pr-4 mb-5">
    <span class="pl-3 pt-2 mb-2">
      {{- site.data.label.panel.toc -}}
    </span>
    <nav id="toc" data-toggle="toc"></nav>
  </div>
  {% endif %}

</div> <!-- #panel-wrapper -->
