zola/components/content
William Ouwehand c18a0c8031 always sort assets by filename (Windows/Linux difference) (#2236)
* sort page.assets by filename

Uses .to_str() to sort files and subfolders.

The .unwrap() may need work or be replaced by unwrap_or_default(). Given
earlier checks in the function it should work however.

* add tests for assets sorting

* fix rustfmt

* use existing loop instead of windows

* also check the non-recursive test

* use .zip() and add assert msg
2023-12-18 23:24:06 +01:00
..
src always sort assets by filename (Windows/Linux difference) (#2236) 2023-12-18 23:24:06 +01:00
Cargo.toml Update changelog & test-case 2023-02-16 20:49:03 +01:00