summaryrefslogtreecommitdiff
path: root/src/Hakyll/Web
AgeCommit message (Collapse)AuthorFilesLines
2017-06-19Bump dependenciesJasper Van der Jeugt1-17/+18
- Bump pandoc-citeproc to 0.10.5 - Bump optparse-applicative to 0.14 - Bump QuickCheck to 2.10 - Bump tasty-quickcheck to 0.9
2017-06-10Some small CSS compression improvementsNicole Rauch1-6/+7
* We now also compress whitespace around commas. * Remove whitespace around some other operators as well. * Clarified the code around the separator compression and even improved the code (one case slipped through unnoticed).
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
2017-01-08Add note about `version` in `createRedirects` docJasper Van der Jeugt1-1/+3
2017-01-07Fix Redirect exampleJasper Van der Jeugt1-1/+4
2017-01-07Add redirect module to HakyllJasper Van der Jeugt1-0/+82
2016-10-17Merge pull request #464 from yogsototh/fix-feed-with-cdataJasper Van der Jeugt1-1/+7
Fix feed generator when item contains CDATA
2016-08-18Fix feed generator when item contains CDATAYann Esposito (Yogsototh)1-1/+7
2016-08-15Also trim whitespace around colons.Nicole Rauch1-2/+2
2016-08-14Removed two compiler warnings (unnecessary imports).Nicole Rauch1-2/+0
2016-08-14Unified the constant cases in all three functions.Nicole Rauch1-8/+8
2016-08-14Extracted a helper method because it was defined locally twice.Nicole Rauch1-8/+11
2016-08-14Do not strip comments that are inside constants.Nicole Rauch1-0/+2
2016-08-14Compressed the code by grouping the guards together.Nicole Rauch1-9/+6
2016-08-14We must avoid the compression of whitespace in constants by handling it in ↵Nicole Rauch1-1/+9
the same way.
2016-08-14Improved the compaction a bit more.Nicole Rauch1-2/+1
2016-08-14Compacted the code by unifying all the similar prefix options.Nicole Rauch1-9/+6
2016-08-14We need to constantly check whether we are at the start of a constant, not ↵Nicole Rauch1-5/+11
just once.
2016-08-14Whitespace in certain kinds of string constants is no longer eliminated.Nicole Rauch1-6/+22
2016-08-04Fix partials and add a testJasper Van der Jeugt1-2/+2
Fixes #460
2016-08-03Reorganise template module hierarchyJasper Van der Jeugt4-428/+448
2016-07-25s/that/that the/samgd1-1/+1
2016-07-25Fix merge conflictssamgd3-19/+40
2016-07-25Trim instructions. TrimRd chunk might need TrimL. Trim tests.samgd2-6/+44
2016-07-24Fix module layoutsamgd3-204/+100
2016-07-24Working trimming but module loop and formatting req.samgd3-124/+252
2016-07-23Canonicalize file + initial if/for planningsamgd1-0/+86
2016-07-23Expr trimming. '-' binds to '$'.samgd1-5/+8
2016-07-23Partial trimmingsamgd1-5/+11
2016-07-23For trimmingsamgd1-6/+18
2016-07-23Include file name in error messagesLorenzo3-5/+19
2016-07-23If Trim parsingsamgd1-11/+61
2016-07-22Merge remote-tracking branch 'upstream/master'Lorenzo1-1/+1
2016-07-22Add Trim_ data constructors. Add If test for Trimsamgd1-6/+10
2016-07-22Fail if template is not parsed until eofLorenzo1-3/+10
This should fix the second problem in #376.
2016-07-22Fixes https://github.com/jaspervdj/hakyll/issues/323 we have less ↵Luca Molteni1-1/+1
compression but we preserve correct CSS semantic
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-28Remove Show instance for TagsJasper Van der Jeugt1-1/+1
Fixes #420
2016-04-07Merge pull request #402 from Nicowcow/snippet-includeJasper Van der Jeugt1-0/+17
Add Snippet expression for snippet includes
2016-04-06Add Snippet expression for snippet includesNicolas Mattia1-0/+17
2016-04-06Clean warningsJasper Van der Jeugt6-14/+8
2016-04-06Initial YAML supportJasper Van der Jeugt3-22/+17
See #225
2016-01-31Merge pull request #385 from bergus/templateJasper Van der Jeugt1-1/+9
templateCompiler compiles resource body only
2015-11-20Item context has precedence before feed contextYuriy Syrovetskiy1-2/+2
2015-10-24templateBodyCompiler compiles resource body onlyBergi1-1/+9
and becomes the new default, instead of templateCompiler fixes #378
2015-10-24Export getModificationTimeJasper Van der Jeugt1-2/+13
2015-08-16Add "poster" as a URL attributeDuncan1-1/+1
2015-08-01Allow time 1.4.*Adam Bergmark2-4/+12
2015-06-30Allow empty template, fix some import warningsJasper Van der Jeugt2-3/+3
Closes #355
2015-06-23Drop old-time, old-locale, time-locale-compat depsJasper Van der Jeugt2-7/+7