fix: removing website theme breaks website (#21373)

This commit is contained in:
Ankush Menat 2023-06-14 12:34:30 +05:30
parent c2a562b82e
commit 99ab17754b

View file

@ -2,8 +2,9 @@
{{ head_html or "" }}
{%- endif %}
{%- if theme.name != 'Standard' -%}
{%- if theme and theme.name != 'Standard' -%}
<link type="text/css" rel="stylesheet" href="{{ theme.theme_url }}">
{%- else -%}
{{ include_style('website.bundle.css') }}
{%- endif -%}