{% comment %}
# -----------------------------------------------------------------------------
# ~/_includes/themes/j1/layouts/theme_generator.html
# Liquid template to generate|add the HTML markup to load
# CSS theme files dynamically on page (re-)load
#
# 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 }}
# -----------------------------------------------------------------------------
{% endcomment %}
{% comment %} Liquid procedures
-------------------------------------------------------------------------------- {% endcomment %}
{% include themes/{{site.template.name}}/procedures/global/setup.proc %}
{% comment %} Variables
-------------------------------------------------------------------------------- {% endcomment %}
{% assign environment = site.environment %}
{% assign switcher_config = site.data.modules.j1_theme_switcher %}
{% assign default_theme = site.data.j1_config.bootstrap.default_theme %}
{% assign theme_base = "core/css" %}
{% assign theme_ext = "css" %}
{% assign themeExtension = site.data.config.bootstrap.default_theme %}
{% if environment == "development" or environment == "devel" %}
{% assign theme_ext = "css" %}
{% else %}
{% assign theme_ext = "min.css" %}
{% endif %}
{% comment %} Main
-------------------------------------------------------------------------------- {% endcomment %}
{% if switcher_config.enabled %}
{% else %}
{% endif %}