{% load static %} {% load mptt_tags %} {% load i18n %} {% load content_filters %} {% load render_bundle from webpack_loader %} {% comment %} These file does not inherit from _raw.html, because xhtml2pdf does not work in combination with tailwind css, so that no resources like tailwind from _raw.html can be incorporated. Tailwind css uses the @media without a mediatype, but xhtml2pdf expects the media identifier. See https://github.com/xhtml2pdf/xhtml2pdf/issues/498 for more information. Once this issue is fixed, we can use tailwind in the pdf context. {% endcomment %} {% render_bundle 'pdf' 'css' %} {% if right_to_left %}
{% endif %} {% if amount_pages > 1 %}

{{ language.table_of_contents }}

{% endif %} {% recursetree pages %}
  • {% get_public_translation node language.slug as page_translation %} {% if node.level < 2 %}

    {{ page_translation.title }}

    {% else %}

    {{ page_translation.title }}

    {% endif %}
    {{ page_translation.text|safe }}
    {% if not node.is_leaf_node %} {% endif %}
  • {% endrecursetree %} {% if right_to_left %}
    {% endif %}