unicef / inventory

UNICEF Open Source Inventory. A UNICEF Global Innovation knowledge base of best practices and resources for working and leading Open.
https://unicef.github.io/inventory/
Creative Commons Attribution Share Alike 4.0 International
35 stars 28 forks source link

:recycle: :weight_lifting: content: Remove weight front matter #102

Closed jwflory closed 2 years ago

jwflory commented 2 years ago

This commit removes the weight front matter from all content, except for posts where it is actually necessary. This allows the existing content to be sorted by default in alphabetical order, while some content can be "promoted" to a custom order on an as-needed basis.

The purpose of this commit is reduce unnecessary front matter and make drafting new content more straightforward. Custom orders can be used in categories for specific pages when needed, like the Open Hardware intro and overview of the Open Source Mentorship program.

Props to @Idadelveloper for digging into this one and verifying the behavior. When I tested this in 2019, the mixed alphabetical and custom order sort did not work.

Closes unicef/inventory-hugo-theme#14.