{% comment %} # ----------------------------------------------------------------------------- # J1: ~/_includes/templates/j1/modules/adapter/bootsnav/bootsnav.html # Liquid HTML template to create the navigation system for J1 Template # # Product/Info: # https://jekyll.one # # Copyright (C) 2017 Juergen Adams # # J1 Template is licensed under the MIT License. # For details, see https://jekyll.one # # ----------------------------------------------------------------------------- # Test data: # liquid_var: {{ liquid_var | debug }} # # ----------------------------------------------------------------------------- {% endcomment %} {% comment %} Liquid procedures (J1 Template) {% endcomment %} {% comment %} ------------------------------------------------- {% endcomment %} {% include themes/{{site.template.name}}/procedures/global/setup.proc %} {% capture select_color %}themes/{{site.template.name}}/procedures/components/select_color.proc{% endcapture %} {% comment %} Liquid procedures (HTML Adapter) {% endcomment %} {% comment %} ------------------------------------------------- {% endcomment %} {% capture topsearch_create %}themes/{{site.template.name}}/modules/adapter/bootsnav/procedures/topsearch.proc{% endcapture %} {% capture sidebar_create %}themes/{{site.template.name}}/modules/adapter/bootsnav/procedures/sidebar.proc{% endcapture %} {% capture quicklinks_create %}themes/{{site.template.name}}/modules/adapter/bootsnav/procedures/quicklinks.proc{% endcapture %} {% capture mainmenu_create %}themes/{{site.template.name}}/modules/adapter/bootsnav/procedures/mainmenu.proc{% endcapture %} {% comment %} Liquid var initialization {% endcomment %} {% comment %} ------------------------------------------------- {% endcomment %} {% assign bootsnav_config = site.data.modules.j1_bootsnav %} {% assign mainmenu_config = site.data.modules.j1_bootsnav_mainmenu %} {% assign navID = "bootsnav_nav" %} {% capture nav_defaults %}navbar navbar-default bootsnav {% endcapture %} {% assign nav_fixed = '' %} {% assign nav_style = 'no-background' %} {% assign nav_color = 'dark' %} {% if bootsnav_config.navbar.fixed %} {% assign nav_fixed = 'navbar-fixed' %} {% if bootsnav_config.navbar.style == 'overlay' %} {% assign nav_style = 'navbar-transparent' %} {% endif %} {% endif %} {% if bootsnav_config.navbar.color == 'light' %} {% assign nav_color = 'white' %} {% endif %} {% comment %} Main {% endcomment %} {% comment %} ------------------------------------------------- {% endcomment %}