1
0
mirror of https://github.com/thangisme/notes.git synced 2024-06-09 09:40:49 +00:00
notes/docs/tests
PLanCompS 4fc59a578f Separate sorting of numbers and strings for navigation order
The values of `title` and `nav_order` can be numbers or strings.
Jekyll gives build failures when sorting on mixtures of different types,
so numbers and strings need to be sorted separately.

Here, numbers are sorted by their values, and come before all strings.
An omitted `nav_order` value is equivalent to the page's `title` value
(except that a numerical `title` value is treated as a string).

The case-sensitivity of string sorting is determined by `site.nav_sort`.
2020-08-11 18:25:58 +02:00
..
42.md Separate sorting of numbers and strings for navigation order 2020-08-11 18:25:58 +02:00
untitled-test.md Separate sorting of numbers and strings for navigation order 2020-08-11 18:25:58 +02:00