summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2017-01-07Add redirect module to HakyllJasper Van der Jeugt2-1/+85
2016-12-22Fix the exit code behaviour of checkJasper Van der Jeugt2-3/+3
Fixes #496
2016-11-16Merge pull request #482 from nickie/fix-yaml-numberJasper Van der Jeugt1-1/+5
Fix integer fields in YAML metadata
2016-10-31Add commentNikolaos S. Papaspyrou1-0/+2
2016-10-31Merge pull request #478 from lfairy/update-depsJasper Van der Jeugt2-3/+3
Update dependencies!
2016-10-31Fix integer fields in YAML metadataNikolaos S. Papaspyrou1-1/+3
If a numeric field contains an integer number, it should be shown as an integer number. Without this patch, the field: answer = 42 would be shown as "42.0". Before the introduction of YAML in metadata, this was treated as a string and therefore shown as just "42". This patch reinstates the older (and IMHO correct) behavior.
2016-10-17Move from test-framework to tastyJasper Van der Jeugt1-1/+1
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-10-14Update to optparse-applicative 0.13Chris Wong1-1/+2
2016-10-14Update to http-conduit 2.2Chris Wong1-3/+2
The new `parseRequest` function doesn't throw on non-200 responses, so we don't need to account for these in the exception handler.
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-31Enable listings and indices in the preview serverJasper Van der Jeugt1-5/+6
Fixes #457
2016-07-31Merge pull request #453 from sk3r/cmd_parser_replacementJasper Van der Jeugt1-71/+52
cmdArgs to Options.Applicative
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-24cmdArgs to Options.Applicativesk3r1-71/+52
changed shell options parser from cmdAgrs to Options.Applicative
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 '$'.samgd2-7/+17
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'Lorenzo3-38/+16
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-22Switch preview server from Snap to WarpArguggi2-37/+15
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-06-25Make errors in Check less verboseJan Tojnar1-14/+23
2016-05-17Read `.metadata` files using bytestringJasper Van der Jeugt1-1/+3
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-27Import catchIOError from System.IO.ErrorJasper Van der Jeugt1-1/+1
2016-04-26Fix import errors on windowsJasper Van der Jeugt1-0/+5
2016-04-07Merge pull request #402 from Nicowcow/snippet-includeJasper Van der Jeugt1-0/+17
Add Snippet expression for snippet includes