Peter Mosses
690d0b5e8a
Revert "Update nav.html"
...
This reverts commit 0cfc0f0357a3b98997ddafe05f819537ffcd1980.
2019-08-29 14:42:47 +02:00
Peter Mosses
5b74b44230
Revert "Optional delay of grandchildren link display"
...
This reverts commit 8ac545a5eb5da8e2ebe7dda1a8bffa9d94e88cc2.
2019-08-29 14:42:23 +02:00
Peter Mosses
8a1e09ec5a
Revert "Update nav.html"
...
This reverts commit c282e4b0a7b27fc27b6cedc9bb67c992fef89dcf.
2019-08-29 14:42:10 +02:00
Peter Mosses
cfbc7f41df
Revert "Revert "Update nav.html""
...
This reverts commit 5d58a663016e07e007775dbd3b1b198548f453b3.
2019-08-29 14:41:21 +02:00
Peter Mosses
5e72b7db67
Revert "Revert "Optional delay of grandchildren link display""
...
This reverts commit 89f79138c3eecbaee272e60f416095db4944cac0.
2019-08-29 14:41:09 +02:00
Peter Mosses
3af59176f4
Revert "Update nav.html"
...
This reverts commit 209ac7be7db196dec85c5d0698189bf1f49a4488.
2019-08-29 14:40:38 +02:00
Peter Mosses
209ac7be7d
Update nav.html
...
Restrict navigation to display only direct children.
2019-08-22 21:45:09 +02:00
Peter Mosses
89f79138c3
Revert "Optional delay of grandchildren link display"
...
This reverts commit 8ac545a5eb5da8e2ebe7dda1a8bffa9d94e88cc2.
2019-08-22 21:37:11 +02:00
Peter Mosses
5d58a66301
Revert "Update nav.html"
...
This reverts commit c282e4b0a7b27fc27b6cedc9bb67c992fef89dcf.
2019-08-22 07:58:09 +02:00
Peter Mosses
c282e4b0a7
Update nav.html
...
Separating new PR from #188 , since indpendent.
2019-08-21 13:57:07 +02:00
Peter Mosses
8ac545a5eb
Optional delay of grandchildren link display
...
The current default is that when a grandparent is selected, the links to its
children *and all its grandchildren* are displayed in the navigation menu.
Setting `grandchildren_branch: true` in `_config.yml` delays the display of links
to grandchildren until their parent is selected.
2019-08-21 13:49:07 +02:00
Peter Mosses
0cfc0f0357
Update nav.html
...
A `navigation-list-child-list` is not displayed unless the enclosing `navigation-list-item` is `active`, so it needs to be generated only when `page.url == node.url or page.parent == node.title or page.grand_parent == node.title`.
2019-08-16 13:32:24 +02:00
Julien Duchesne
07982f681a
Optimized nav generation
...
- Trimmed whitespace between html elements
This reduced one of my files from 850KB to 115KB
- Do not sort the whole list of pages on every iteration
This made build 3x faster
2019-07-18 15:52:11 -04:00
Patrick Marsceill
a3ae6ad74e
A11y updates
2019-01-06 15:49:26 -05:00
Patrick Marsceill
960d347f68
Support 3 levels of pages
2018-11-19 13:28:59 -05:00
Patrick Marsceill
6540493df2
Add condition for nav exclude
2018-11-16 13:57:32 -05:00
Patrick Marsceill
f7da9a9dd9
final shit for release
2017-04-08 18:51:14 -04:00
Patrick Marsceill
e581397758
Initial commit
2017-03-26 21:09:19 -04:00
Patrick Marsceill
594385ae7b
initial commit
2017-03-24 09:47:37 -04:00
Patrick Marsceill
b7b0d0d7bf
Initial commit
2017-03-09 13:16:08 -05:00