add %if to source search.js

This commit is contained in:
scoobybejesus 2021-09-09 20:52:28 -04:00 committed by GitHub
parent a7ca6449a4
commit 35a0d8ead1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,6 +86,8 @@
</div> </div>
</div> </div>
{% if ENABLE_SEARCH_ROUTE %}
<script src="static/search.js"></script> <script src="static/search.js"></script>
{% endif %}
{% endblock %} {% endblock %}