Don't load magnific popup css if lightbox is disabled.

This commit is contained in:
Jason McBrayer 2023-11-16 18:49:02 -05:00
parent 316a3ee488
commit 12bb559bac
1 changed files with 2 additions and 0 deletions

View File

@ -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' %}">