book-example/content/chapters/_index.md

283 B

+++

Sorting by "slug" boils down to sorting lexicographically by the

directory name of each chapter. For numberd directories, include

a leading "0" on # single-digit chapters to ensure chapter 2, 3, 4, etc

are not sorted after chapter 19, 29, 39, etc.

sort_by = "slug" +++