{% comment %} # ----------------------------------------------------------------------------- # ~/_includes/themes/j1/layouts/layout_shim_generator.html # Liquid template to generate HTML shim configs for ALL modules configured # # Product/Info: # https://jekyll.one # # Copyright (C) 2019 Juergen Adams # # J1 Template is licensed under the MIT License. # See: https://github.com/jekyll-one-org/j1_template/blob/master/LICENSE # ----------------------------------------------------------------------------- # Test data: # liquid_var: {{ liquid_var | debug }} # ----------------------------------------------------------------------------- {% endcomment %} {% comment %} Liquid procedures -------------------------------------------------------------------------------- {% endcomment %} {% capture select_color %}themes/{{site.template.name}}/procedures/global/select_color.proc{% endcapture %} {% comment %} Set global settings -------------------------------------------------------------------------------- {% endcomment %} {% assign environment = site.environment %} {% comment %} Process YML config data ================================================================================ {% endcomment %} {% comment %} Set config files -------------------------------------------------------------------------------- {% endcomment %} {% assign consent_defaults = site.data.modules.defaults.cookie_consent.defaults %} {% assign consent_settings = site.data.modules.cookie_consent.settings %} {% assign webhook_defaults = site.data.modules.defaults.webhook.defaults %} {% assign webhook_settings = site.data.modules.webhook.settings %} {% comment %} Set config data -------------------------------------------------------------------------------- {% endcomment %} {% assign consent_options = consent_defaults | merge: consent_settings %} {% assign webhook_options = webhook_defaults | merge: webhook_settings %} {% comment %} Main ================================================================================ {% 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 %} Initialize Tooltips|Popovers -------------------------------------------------------------------------------- {% endcomment %} {% comment %} Initialize Enhanced Bootstrap Modals (used by Roundtrip examples) -------------------------------------------------------------------------------- {% endcomment %}