{% comment %} # ----------------------------------------------------------------------------- # ~/_includes/themes/j1/layouts/content_generator_page.html # Liquid template to create the content portion for pages # # Product/Info: # https://jekyll.one # # Copyright (C) 2020 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 blocks = site.data.blocks %} {% assign modules = site.data.modules %} {% comment %} set config data -------------------------------------------------------------------------------- {% endcomment %} {% assign template_config = site.data.j1_config %} {% comment %} set config options -------------------------------------------------------------------------------- {% endcomment %} {% assign rtext = site.data.j1_config.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 rtext %} {% assign rtext_size = site.data.j1_config.typography.rtext_size %} {% else %} {% assign rtext_size = 0 %} {% endif %} {% comment %} Main -------------------------------------------------------------------------------- {% endcomment %}
{{content}}
{% comment %} Calc|Write the Back URL -------------------------------------------------------------------------------- {% endcomment %} {% if site.permalink == 'none' %} {% capture browser_page_url %}{{page.url}}.html {% endcapture %} {% else %} {% capture browser_page_url %}{{page.url}}{% endcapture %} {% endif %}