summaryrefslogtreecommitdiff
path: root/src/Hakyll/Web/Paginate.hs
AgeCommit message (Collapse)AuthorFilesLines
2017-06-19Move src/ to lib/, put Init.hs in src/Jasper Van der Jeugt1-153/+0
2017-02-14Provide an `$allPages$` key when doing paginationJasper Van der Jeugt1-1/+28
This list offers in turn the `$num$`, `$url$` and `$isCurrent$` fields
2016-04-29src/Hakyll/Web/Paginate.hs: Fix build failureSergei Trofimovich1-1/+1
The code tried to generate Show instance for a function. I don't know where it used to come from but it's not there anymore. Build fails as: [48 of 49] Compiling Hakyll.Web.Paginate ( src/Hakyll/Web/Paginate.hs, dist/build/Hakyll/Web/Paginate.o ) src/Hakyll/Web/Paginate.hs:40:17: No instance for (Show (PageNumber -> Identifier)) (maybe you haven't applied enough arguments to a function?) arising from the second field of ‘Paginate’ (type ‘PageNumber -> Identifier’) Possible fix: use a standalone 'deriving instance' declaration, so you can specify the instance context yourself When deriving the instance for (Show Paginate) Change drops Show instance as it's not very useful. Signed-off-by: Sergei Trofimovich <siarheit@google.com>
2016-04-06Clean warningsJasper Van der Jeugt1-1/+0
2014-06-06Draft paginationJasper Van der Jeugt1-75/+67
2014-05-20Fix issue in paginate dependenciesJasper Van der Jeugt1-3/+3
2014-04-11Fix tag dependency issue, slightly improve cachingJasper Van der Jeugt1-2/+3
2013-05-06Paginate simplificationJasper Van der Jeugt1-0/+134