{% macro toc(page, type="text") %} {% if page.toc %} Contents
{% endif %} {% endmacro input %}