mirror of
https://github.com/thangisme/notes.git
synced 2024-12-22 03:56:41 -05:00
6660f442b0
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. |
||
---|---|---|
.. | ||
js | ||
vendor | ||
head_custom.html | ||
head.html | ||
nav.html | ||
title.html |