Update sorting for blog posts.

This commit is contained in:
Dillon Kearns 2021-08-02 10:11:02 -07:00
parent ea788cadc2
commit 156f2ff26d

View File

@ -52,6 +52,10 @@ allMetadata =
Just ( route, metadata )
)
)
|> DataSource.map
(List.sortBy
(\( route, metadata ) -> -(Date.toRataDie metadata.published))
)
type alias ArticleMetadata =