diff --git a/_includes/components/nav.html b/_includes/components/nav_custom.html similarity index 97% rename from _includes/components/nav.html rename to _includes/components/nav_custom.html index fa3f4c8..439f5b4 100644 --- a/_includes/components/nav.html +++ b/_includes/components/nav_custom.html @@ -1,5 +1,5 @@ {%- comment -%} - Include as: {%- include_cached nav.html pages=pages -%} + Include as: {%- include_cached nav_custom.html pages=pages -%} Depends on: include.pages. Results in: HTML for the navigation panel. Includes: diff --git a/_includes/components/sidebar_custom.html b/_includes/components/sidebar_custom.html index 359b474..50e6e57 100644 --- a/_includes/components/sidebar_custom.html +++ b/_includes/components/sidebar_custom.html @@ -3,7 +3,7 @@ Depends on: page(?), site. Results in: HTML for the side bar. Includes: - title.html, nav.html, nav_footer_custom.html + title.html, nav_custom.html, nav_footer_custom.html Overwrites: pages_top_size, collections_size, collection_entry, collection_key, collection_value, collection, nav_footer_custom. @@ -24,7 +24,7 @@ | where_exp:"item", "item.nav_exclude != true" | size %} {% if pages_top_size > 0 %} - {% include_cached nav.html pages=site.html_pages %} + {% include_cached nav_custom.html pages=site.html_pages %} {% endif %} {%- if site.nav_external_links -%} {% else %} - {% include_cached nav.html pages=collection %} + {% include_cached nav_custom.html pages=collection %} {% endif %} {% else %} - {% include_cached nav.html pages=collection %} + {% include_cached nav_custom.html pages=collection %} {% endif %} {% endif %} {% endfor %} diff --git a/_includes/head.html b/_includes/head.html index 26c595e..06b736b 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -4,7 +4,7 @@ site.search_enabled, site.static_files, site.favicon_ico. Results in: HTML for the head element. Includes: -head_nav.html, head_custom.html. +css/activation.scss.liquid, head_custom.html. Overwrites: ga_tracking_ids, ga_property, file, favicon. Should not be cached, because included files depend on page. @@ -16,7 +16,11 @@ - {% include head_nav.html %} + + + {% if site.ga_tracking != nil %} {% assign ga_tracking_ids = site.ga_tracking | split: "," %}