assets/themes/j1/adapter/js/asciidoctor.js in j1-template-2022.4.9 vs assets/themes/j1/adapter/js/asciidoctor.js in j1-template-2022.4.10
- old
+ new
@@ -19,9 +19,25 @@
# Test data:
# {{ liquid_var | debug }}
# -----------------------------------------------------------------------------
{% endcomment %}
+{% comment %} Liquid var initialization
+-------------------------------------------------------------------------------- {% endcomment %}
+
+{% comment %} Set config files
+-------------------------------------------------------------------------------- {% endcomment %}
+{% assign environment = site.environment %}
+{% assign template_config = site.data.j1_config %}
+{% assign modules = site.data.modules %}
+
+{% comment %} Detect prod mode
+-------------------------------------------------------------------------------- {% endcomment %}
+{% assign production = false %}
+{% if environment == 'prod' or environment == 'production' %}
+ {% assign production = true %}
+{% endif %}
+
/*
# -----------------------------------------------------------------------------
# ~/assets/themes/j1/adapter/js/asciidoctor.js
# J1 Adapter for Asciidoctor
#