{% set page_toc = generate_toc_html() %} {%- if page_toc | length >= 1 %}
{{ _("On this page") }}
{%- endif %}