{% comment %}
  Include parameters:

  - class: CSS classes to add to toc element.
  - header: header text, default 'Contents'
  - kind: should be one of 'inline' or 'side'; if present it is
    suffixed to the toc id, e.g. id="site-toc--side"

  If you don't want the back-to-top button style `site-toc__back-to-top` as `display: none`.
{% endcomment -%}

{% if include.kind -%}
  {% assign id-suffix = include.kind | prepend: '--' -%}
{% endif -%}

{% assign toc = content | toc_only -%}

{% comment %}
  A TOC