{%- comment -%} Include as: {%- include css/activation.scss.liquid -%} Depends on: page. Results in: page-dependent CSS rules for inclusion in a style element, which needs to be disabled when JS is enabled. Includes: components/site_nav.html. Overwrites: activation_no_nav_link, nav_list_link, site_nav, nav_list, nav_list_end, nav_list_item, nav_category_list, nav_list_link_prefix, nav_splits, nav_split, nav_levels, nav_list_less, nav_list_count, nav_end_less, nav_end_count, nav_index, nav_slice_size, activation_collection_prefix, activation_other_collection_prefix. Should not be cached, because it depends on page. {%- endcomment -%} {%- comment -%} The CSS rules in activation_no_nav_link are for use on pages excluded from the main navigation. - The first rule ensures that no nav-link has a background image. - The other two rules ensure that all folding collections are expanded. {%- endcomment -%} {%- capture site_nav -%} {%- include_cached components/site_nav.html -%} {%- endcapture -%} {%- capture activation_no_nav_link %} .site-nav ul li a { background-image: none; } {%- if site.just_the_docs.collections %} .site-nav > ul.nav-category-list > li > button svg { transform: rotate(-90deg); } .site-nav > ul.nav-category-list > li.nav-list-item > ul.nav-list { display: block; } {%- endif %} {% endcapture -%} {%- capture nav_list_link -%} {%- endcapture -%} {%- if site_nav contains nav_list_link -%} {%- capture nav_list -%}