on master help sign in
Merge pull request #122 from simukis/chronological-update

chronological docs update

commitb287c8281ccbeba9741f0e5c94a9e92dc85c3edb authorJasper Van der Jeugt <jaspervdj@gmail.com> dateSat 16 Mar 2013, 13:15 (14 years ago) parenta7290604a3aac5
1 file changed+2−3
src/Hakyll/Web/Template/List.hs+2−3
src/Hakyll/Web/Template/List.hs+2−3
@@ -55,9 +55,8 @@ applyJoinTemplateList delimiter tpl context items = do
5555
5656
5757--------------------------------------------------------------------------------
58−-- | Sort pages chronologically. This function assumes that the pages have a
59−-- @year-month-day-title.extension@ naming scheme -- as is the convention in
60−-- Hakyll.
58+-- | Sort pages chronologically. Uses the same method as 'dateField' for
59+-- extracting the date.
6160chronological :: MonadMetadata m => [Item a] -> m [Item a]
6261chronological =
6362 sortByM $ getItemUTC defaultTimeLocale . itemIdentifier