diff --git a/content/1_tshirt-index-01/test.png.fr.txt b/content/1_tshirt-index-01/test.png.fr.txt index 7f77072..cd5255a 100644 --- a/content/1_tshirt-index-01/test.png.fr.txt +++ b/content/1_tshirt-index-01/test.png.fr.txt @@ -1,4 +1,4 @@ -Sort: 2 +Sort: 1 ---- diff --git a/content/1_tshirt-index-01/tshirt-01.png.fr.txt b/content/1_tshirt-index-01/tshirt-01.png.fr.txt index c8fd3f3..c9a1f27 100644 --- a/content/1_tshirt-index-01/tshirt-01.png.fr.txt +++ b/content/1_tshirt-index-01/tshirt-01.png.fr.txt @@ -1,4 +1,4 @@ -Sort: 1 +Sort: 2 ---- diff --git a/site/templates/home.php b/site/templates/home.php index cce6b62..93bfc37 100644 --- a/site/templates/home.php +++ b/site/templates/home.php @@ -9,7 +9,7 @@ children()->listed() as $product): ?>
- files()->sort()->first()): ?> + files()->sortBy('sort', 'asc')->first()): ?> $cover, 'alt' => $product->title()->html(), diff --git a/site/templates/product.php b/site/templates/product.php index 4fc4969..d836f63 100644 --- a/site/templates/product.php +++ b/site/templates/product.php @@ -81,7 +81,6 @@