--- layout: compress --- {% capture j1_cache %} {% comment %} # ----------------------------------------------------------------------------- # ~/_layouts/default.html # Liquid (default) layout template for all content-pages # # Product/Info: # https://jekyll.one # # Copyright (C) 2020 Juergen Adams # # J1 Template is licensed under the MIT License. # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE # # ----------------------------------------------------------------------------- # NOTE: # This is the DEFAULT layout for ALL pages|layouts used by J1 Template. # ----------------------------------------------------------------------------- # NOTE: # Depending on the site configuration, the HTML code generated by # BASE layout will be compressed as a final processing step. # ----------------------------------------------------------------------------- # NOTE: # Do NOT add any CONTENT here. If needed, go for a "next level" layout # that extents the layout BASE by additional data for your specific # needs based on YAML configuration data files. # ----------------------------------------------------------------------------- # Test data: # {{ lanes_collate | debug }} # ----------------------------------------------------------------------------- {% endcomment %} {% comment %} global variables -------------------------------------------------------------------------------- {% endcomment %} {% include themes/{{site.template.name}}/procedures/global/set_base_vars_folders.proc %} {% comment %} liquid procedures -------------------------------------------------------------------------------- {% endcomment %} {% capture default_writer %}themes/{{site.template.name}}/procedures/layouts/default_writer.proc{% endcapture %} {% comment %} process YML config data ================================================================================ {% endcomment %} {% 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 %} {% comment %} Set config files -------------------------------------------------------------------------------- {% endcomment %} {% assign site_config = site %} {% assign template_config = site.data.template_settings %} {% assign blocks = site.data.blocks %} {% assign modules = site.data.modules %} {% comment %} Set config data -------------------------------------------------------------------------------- {% endcomment %} {% assign consent_defaults = modules.defaults.cookie_consent.defaults %} {% assign consent_settings = modules.cookie_consent.settings %} {% comment %} Webhooks disabled -------------------------------------------------------------------------------- {% assign webhook_defaults = modules.defaults.webhooks.defaults %} {% assign webhook_settings = modules.webhooks.settings %} -------------------------------------------------------------------------------- {% endcomment %} {% comment %} Set config options -------------------------------------------------------------------------------- {% endcomment %} {% assign consent_options = consent_defaults | merge: consent_settings %} {% comment %} Webhooks disabled -------------------------------------------------------------------------------- {% 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 %} {% if page.scrollbar %} {% assign body_scrollbar = page.scrollbar %} {% endif %} {% if jekyll.environment != 'development' %} {% assign environment = jekyll.environment | strip %} {% endif %} {% comment %} main -------------------------------------------------------------------------------- {% endcomment %} {% comment %} additional debug data -------------------------------------------------------------------------------- {% endcomment %} {% if page.debug %} {% endif %} {% comment %} collect the head section (region head) ------------------------------------------------------------------------------ {% endcomment %} {% comment %} {% endcomment %} {% include {{default_writer}} region='head' items=lanes_collate %} {% comment %} collect the body section (region body-*) ------------------------------------------------------------------------------ {% if body_scrollbar %} {% else %} {% endif %} ------------------------------------------------------------------------------ {% endcomment %} {% comment %} wrapper to prevent "DOM flicker" ------------------------------------------------------------------------------ {% endcomment %} {% comment %} Place|Initialize J1 Module components ------------------------------------------------------------------------------ {% endcomment %} {% comment %} Place container for Cookie Consent Modals ------------------------------------------------------------------------------ {% endcomment %} {% if consent_options.enabled %}
{% endif %} {% comment %} Place container for Web Hook Modals ------------------------------------------------------------------------------ {% endcomment %} {% if webhook_options.enabled %}
{% endif %} {% comment %} Place container for Modal R-Text Resizer ------------------------------------------------------------------------------ {% endcomment %}