1
0
mirror of https://github.com/thangisme/notes.git synced 2025-02-21 06:57:46 -05:00
notes/_layouts
Peter Mosses 6660f442b0 Alphabetic navigation order
When `nav_order` is omitted, the order of nodes at each menu level (and in the auto-generated TOC) is alphabetical by `title`, instead of random.
Any nodes with a specified `nav_order` precede all nodes at that level where it is omitted.
Note that `nav_order` fields must have a uniform site-ide type: integers and strings cannot be mixed, otherwise Jekyll reports errors.
The implementation filters the ordered and unordered pages from `site.html_pages`, sorts them separately, and concatenates the resulting arrays.
2019-10-11 21:40:34 +01:00
..
2019-05-19 02:55:43 +02:00
2019-10-11 21:40:34 +01:00
2017-03-09 13:16:08 -05:00