There was an error while loading. Please reload this page.
1 parent 9329879 commit 491228fCopy full SHA for 491228f
2 files changed
templates/base.html
@@ -5,7 +5,7 @@
5
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7
{% block head_links %}
8
- {% if 'assets' in PLUGINS %}
+ {% if PLUGINS and 'assets' in PLUGINS %}
9
{% include '_includes/minify_css.html' with context %}
10
{% else %}
11
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/elegant.prod.9e9d5ce754.css" media="screen">
templates/search.html
@@ -39,7 +39,7 @@
39
{% endblock content %}
40
41
{% block script %}
42
- {% if 'tipue_search' in PLUGINS %}
+ {% if PLUGINS and 'tipue_search' in PLUGINS %}
43
<script src="{{ SITEURL }}/tipuesearch_content.js"></script>
44
{% endif %}
45
{{ super() }}
0 commit comments