--- regenerate: true --- {% capture cache %} {% comment %} # ----------------------------------------------------------------------------- # ~/assets/data/cookie_consent.html # Liquid PROCEDURE to generate the HTML (data) portion of all modals used # by J1 Cookie Consent module # # Product/Info: # https://jekyll-one.com # # Copyright (C) 2019 Juergen Adams # # J1 Template is licensed under the MIT License. # See: https://github.com/jekyll-one/j1_template_mde/blob/master/LICENSE # # ----------------------------------------------------------------------------- # Test data: # liquid_var: {{ liquid_var | debug }} # config: {{ config | debug }} # ----------------------------------------------------------------------------- {% endcomment %} {% comment %} Liquid procedures -------------------------------------------------------------------------------- {% endcomment %} {% capture select_color %}themes/{{site.template.name}}/procedures/global/select_color.proc{% endcapture %} {% capture select_icon_size %}themes/{{site.template.name}}/procedures/global/select_icon_size.proc{% endcapture %} {% comment %} Set config files -------------------------------------------------------------------------------- {% endcomment %} {% assign consent_config = site.data.modules.j1_cookie_consent %} {% assign consent_defaults = consent_config.defaults %} {% assign consent_settings = consent_config.consent %} {% comment %} Set config data -------------------------------------------------------------------------------- {% endcomment %} {% assign config = consent_settings | merge: consent_defaults %} {% comment %} Set config options -------------------------------------------------------------------------------- {% endcomment %} {% comment %} Liquid var initialization -------------------------------------------------------------------------------- {% endcomment %} {% include {{select_color}} color=authclient_options.icon_color fallback="#9E9E9E" %} {% capture icon_color %}style="color:{{color}}"{% endcapture %} {% include {{select_icon_size}} family=authclient_options.icon_family size=authclient_options.icon_size %} {% assign icon_size = size %} {% comment %} Main -------------------------------------------------------------------------------- {% endcomment %} {% comment %} Modal topFullCookieConsent -------------------------------------------------------------------------------- {% endcomment %} {% comment %} END Modal topFullCookieConsent -------------------------------------------------------------------------------- {% endcomment %} {% comment %} Modal cookieDeclineTopInfo -------------------------------------------------------------------------------- {% endcomment %} {% comment %} END Modal cookieDeclineTopInfo -------------------------------------------------------------------------------- {% endcomment %} {% comment %} Modal cookieRevokeCentralDanger -------------------------------------------------------------------------------- {% endcomment %}