{% set page_toc = generate_toc_html() %} {%- if page_toc | length >= 1 %} {%- endif %} {{ page_toc }}