Closed peterdesmet closed 1 year ago
Jekyll 4.0 supports custom sorting for collection elements. Unfortunately, GitHub Pages currently uses 3.9.2: https://pages.github.com/versions/
In the meantime, Petridish will support custom sorting using the order property in the page frontmatter. It has 3 main drawbacks:
order
sort_by
To be picked up again once GitHub Pages supports Jekyll 4.0:
collections: docs: # Settings for the "docs" collection output: true permalink: "/:collection/:path/" order: - installation.md - configuration.md - markdown.md
Support for collections was removed, so manual order is not necessary.
Jekyll 4.0 supports custom sorting for collection elements. Unfortunately, GitHub Pages currently uses 3.9.2: https://pages.github.com/versions/
In the meantime, Petridish will support custom sorting using the
order
property in the page frontmatter. It has 3 main drawbacks:order
are placed before the others, while with thesort_by
feature in Jekyll 4.0 they are placed after (more intuitive).To be picked up again once GitHub Pages supports Jekyll 4.0: