{% extends "catalogue/detail.html" %}
{% load unusedcss static compress %}

{% block styles %}
{% unusedcss 'detail' as def %}
{% if def.is_active %}{{ def.css|safe }}{% with unusedcss_lazy=True %}{% compress css %}{% with unusedcss_lazy=False %}{% compress css %}{{ block.super }}{% endcompress %}{% endwith %}{% endcompress %}{% endwith %}{% else %}{% compress css %}{{ block.super }}{% endcompress %}{% endif %}
{% endblock %}

{% block extrastyles %}
{% unusedcss 'detail' as def %}
{% if def.is_active %}{% with unusedcss_lazy=True %}{% compress css %}{% with unusedcss_lazy=False %}{% compress css %}{{ block.super }}{% endcompress %}{% endwith %}{% endcompress %}{% endwith %}{% else %}{% compress css %}{{ block.super }}{% endcompress %}{% endif %}
{% endblock %}
