Projet

Général

Profil

0001-templates-wrap-CSS-link-with-block-css-variant-46315.patch

Thomas Jund, 03 septembre 2020 11:45

Télécharger (973 octets)

Voir les différences:

Subject: [PATCH] templates: wrap CSS link with {% block css-variant %} 
 (#46315)

 templates/theme.html | 2 ++
 1 file changed, 2 insertions(+)
templates/theme.html
30 30
    {% block extra_top_head %}
31 31
    {% endblock %}
32 32
    {{ media }}
33
    {% block css-variant %}
33 34
    {% if css_variant %}
34 35
      <link rel="stylesheet" type="text/css" href="{{site_base}}{% static "" %}{{css_variant}}/style.css?{% start_timestamp %}">
35 36
    {% else %}
36 37
      <link rel="stylesheet" type="text/css" href="{{site_base}}{% static "style.css" %}?{% start_timestamp %}">
37 38
    {% endif %}
39
    {% endblock %}
38 40
    {% block extra_css %}
39 41
    {% endblock %}
40 42
    {% block extra_scripts %}
41
-