{%- if not is_home() and toc(page.content) and theme.toc -%}

{{ __('posts.toc') }}

{{ toc(page.content, {list_number: false}) }}
{%- endif -%}