fix: Don't include web_include_css when custom theme is set

This commit is contained in:
Faris Ansari 2019-02-19 18:06:18 +05:30
parent 4d51b00dcf
commit 30491ccf3c

View file

@ -29,11 +29,11 @@
<link type="text/css" rel="stylesheet" href="{{ theme.custom_theme_url }}">
{% else %}
<link type="text/css" rel="stylesheet" href="/assets/css/frappe-web-b4.css">
{% endif %}
{%- for link in web_include_css %}
<link type="text/css" rel="stylesheet" href="{{ link|abs_url }}">
{%- endfor -%}
{% endif %}
{%- endblock -%}
{%- block head_include %}