Dynamic css import with Jinja2
I found a solution that works out pretty well.
I use
<link rel="stylesheet" href="{% block css %}{% endblock %}"> in the template
 and then: {% block css%}{% static 'home/css/file.css' %}{% endblock % in each page
I am trying to make my stylesheets dynamic with django (jinja2) and I want to do something like this:
 <link rel="stylesheet" href="{% static 'home/css/{{ block css }}{{ endblock }}.css' %}">
Apparently, I can't use Jinja in Jinja :), and I don't know how to make this work another way.