assets/themes/j1/adapter/js/lunr.js in j1-template-2022.2.3 vs assets/themes/j1/adapter/js/lunr.js in j1-template-2022.3.0.rc0
- old
+ new
@@ -43,9 +43,11 @@
{% comment %} Set config options
-------------------------------------------------------------------------------- {% endcomment %}
{% assign lunr_search_options = lunr_search_defaults | merge: lunr_search_settings %}
+{% comment %} Detect prod mode
+-------------------------------------------------------------------------------- {% endcomment %}
{% assign production = false %}
{% if environment == 'prod' or environment == 'production' %}
{% assign production = true %}
{% endif %}