Don't load magnific popup css if lightbox is disabled.
This commit is contained in:
parent
316a3ee488
commit
12bb559bac
|
@ -31,8 +31,10 @@
|
|||
<link rel="stylesheet"
|
||||
href="{% static preferences.theme.main_css %}">
|
||||
<link rel="stylesheet" href="{% static preferences.theme.tweaks_css %}">
|
||||
{% if preferences.lightbox %}
|
||||
<link rel="stylesheet"
|
||||
href="{% static 'css/magnific-popup.css' %}">
|
||||
{% endif %}
|
||||
{% if not preferences.theme.is_brutalist %}
|
||||
<link rel="stylesheet"
|
||||
href="{% static 'css/fork-awesome.min.css' %}">
|
||||
|
|
Loading…
Reference in New Issue