{% 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' %}