{% block stylesheets %} {% if report.extension == 'html' %} {% else %} {% endif %} {% endblock stylesheets %} {% block custom_style %} {% endblock custom_style %}