_layouts/default.html in j1-template-2020.0.21 vs _layouts/default.html in j1-template-2020.0.22
- old
+ new
@@ -50,15 +50,15 @@
{% comment %} initialize global settings
-------------------------------------------------------------------------------- {% endcomment %}
{% assign environment = site.environment %}
{% assign template_version = site.version %}
{% assign compress = site.compress_html.enabled %}
-{% assign prettify = data.template_settings.prettify %}
+{% assign prettify = data.j1_config.prettify %}
{% comment %} Set config files
-------------------------------------------------------------------------------- {% endcomment %}
-{% assign template_config = site.data.template_settings %}
+{% assign template_config = site.data.j1_config %}
{% assign blocks = site.data.blocks %}
{% assign modules = site.data.modules %}
{% comment %} Set config data
-------------------------------------------------------------------------------- {% endcomment %}
@@ -82,10 +82,10 @@
{% assign webhook_options = webhook_defaults | merge: webhook_settings %}
-------------------------------------------------------------------------------- {% endcomment %}
{% assign lanes_collate = data.layouts.default.lanes %}
{% assign logon_client = data.modules.j1_sign_in_up %}
-{% assign body_scrollbar = data.template_settings.body.scrollbar %}
+{% assign body_scrollbar = data.j1_config.body.scrollbar %}
{% if page.scrollbar %}
{% assign body_scrollbar = page.scrollbar %}
{% endif %}