{% comment %} # ----------------------------------------------------------------------------- # ~/_includes/themes/j1/layouts/meta_data_generator.html # Liquid template to generate all meta data for all pages # # Product/Info: # https://jekyll.one # # Copyright (C) 2021 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 %} {% comment %} Process YML config data ================================================================================ {% endcomment %} {% comment %} Set config files -------------------------------------------------------------------------------- {% endcomment %} {% assign template_config = site.data.j1_config %} {% assign blocks = site.data.blocks %} {% assign modules = site.data.modules %} {% comment %} Set GLOBAL variables -------------------------------------------------------------------------------- {% endcomment %} {% case site.environment %} {% when 'production' %} {% assign ext_css = 'min.css' %} {% assign ext_js = 'min.js' %} {% when 'prod' %} {% assign ext_css = 'min.css' %} {% assign ext_js = 'min.js' %} {% else %} {% assign ext_css = 'css' %} {% assign ext_js = 'js' %} {% endcase %} {% comment %} Main -------------------------------------------------------------------------------- {% endcomment %} {% if template_config.translation.enabled %} {% endif %} {% if page.layout == 'home' %}