{{ title }}
{% for entry in entries %}
-
{# href targets a same-document anchor so WeasyPrint emits a real PDF
link annotation. The annotation is rewritten to the cross-document
destination after rendering (see toc.py _rewrite_toc_links). #}
{{ entry.label }}
{{ entry.page_label }}
{% endfor %}