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"
|
<link rel="stylesheet"
|
||||||
href="{% static preferences.theme.main_css %}">
|
href="{% static preferences.theme.main_css %}">
|
||||||
<link rel="stylesheet" href="{% static preferences.theme.tweaks_css %}">
|
<link rel="stylesheet" href="{% static preferences.theme.tweaks_css %}">
|
||||||
|
{% if preferences.lightbox %}
|
||||||
<link rel="stylesheet"
|
<link rel="stylesheet"
|
||||||
href="{% static 'css/magnific-popup.css' %}">
|
href="{% static 'css/magnific-popup.css' %}">
|
||||||
|
{% endif %}
|
||||||
{% if not preferences.theme.is_brutalist %}
|
{% if not preferences.theme.is_brutalist %}
|
||||||
<link rel="stylesheet"
|
<link rel="stylesheet"
|
||||||
href="{% static 'css/fork-awesome.min.css' %}">
|
href="{% static 'css/fork-awesome.min.css' %}">
|
||||||
|
|
Loading…
Reference in New Issue