{% comment %} # ----------------------------------------------------------------------------- # ~/_includes/themes/j1/layouts/content_generator_collection.html # Liquid template to create the content portion for pages of type COLLECTION # # 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 pager %}themes/{{site.template.name}}/procedures/global/pager.proc{% endcapture %} {% comment %} Variables -------------------------------------------------------------------------------- {% endcomment %} {% assign toccer_config = site.data.modules.j1_toccer %} {% assign tocbot_enabled = toccer_config.enabled %} {% assign rtext = site.data.template_settings.typography.rtext %} {% assign page_rtext = page.rtext %} {% assign page_rtext_size = page.rtext_size %} {% assign page_toccer = page.toccer %} {% assign page_toc = page.toc %} {% if tocbot_enabled and page_toc or page_toccer %} {% assign sidebar = true %} {% else %} {% assign sidebar = false %} {% endif %} {% if rtext %} {% assign rtext_size = site.data.template_settings.typography.rtext_size %} {% else %} {% assign rtext_size = 0 %} {% endif %} {% comment %} Main -------------------------------------------------------------------------------- {% endcomment %}