--- layout: default --- {% comment %} # ----------------------------------------------------------------------------- # ~/_layouts/blog_archive.html # Liquid layout template for all pages of content-type BLOG ARCHIVE # # 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 # # ----------------------------------------------------------------------------- # NOTE: # This is the layout for the generator page of type BLOG ARCHIVE NAVIGATOR. # ----------------------------------------------------------------------------- # NOTE: # For J1 template, "Liquid Procedures" are being used intensively. To load # HTML data for a region (lane), the (Liquid) procedure "content_writer" # places the components based on the YAML data file: collection.yml. # ----------------------------------------------------------------------------- # Test data: # {{ lanes_collate | debug }} # # ----------------------------------------------------------------------------- {% endcomment %} {% comment %} Liquid procedures -------------------------------------------------------------------------------- {% endcomment %} {% capture default_writer %}themes/{{site.template.name}}/procedures/layouts/default_writer.proc{% endcapture %} {% capture content_writer %}themes/{{site.template.name}}/procedures/layouts/content_writer.proc{% endcapture %} {% comment %} Variables -------------------------------------------------------------------------------- {% endcomment %} {% assign lanes_collate = site.data.layouts.blog_archive.lanes %} {% comment %} Main -------------------------------------------------------------------------------- {% endcomment %} {% comment %} Collect the BODY-BANNER region ------------------------------------------------------------------------------ {% endcomment %} {% comment %} Collect the BODY-CONTENT region ------------------------------------------------------------------------------ {% endcomment %}
{% include {{content_writer}} region='body-main' items=lanes_collate %}