We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16d49ce commit ccc7511Copy full SHA for ccc7511
_includes/components/site_nav.html
@@ -8,9 +8,13 @@
8
Overwrites:
9
pages_top_size, collections_size, collection_entry,
10
collection_key, collection_value, collection.
11
+ Most of this file is copied frem just_the_docs, the local changes are:
12
+ Remove id and class from nav element (class="site-nav" id="site-nav"),
13
+ instead place them on the parent nav in components/sidebar.
14
+ This allows the script that shows/hide nav on mobile to work on our modified
15
+ sidebar with TOC.
16
{%- endcomment -%}
-
-<nav aria-label="Main" id="site-nav" class="site-nav">
17
+<nav>
18
{% assign pages_top_size = site.html_pages
19
| where_exp:"item", "item.title != nil"
20
| where_exp:"item", "item.parent == nil"
0 commit comments