summaryrefslogtreecommitdiff
path: root/src/Hakyll/Core/Provider
AgeCommit message (Collapse)AuthorFilesLines
2016-04-06Hint for weird yaml errorJasper Van der Jeugt1-2/+13
2016-04-06Better errors for yaml parsingJasper Van der Jeugt1-6/+31
2016-04-06Initial YAML supportJasper Van der Jeugt2-70/+50
See #225
2014-05-09save modification time with sub-second granularityJorge Israel Peña1-4/+3
Some systems can get the file modification time with sub-second granularity. However, Hakyll shaves off the sub-seconds, as defined in the Binary instance of BinaryTime, which poses a problem because when a file is checked to see if it was modified in `resourceModified`, it still contains the sub-seconds. This results in a file (almost) always being considered as having been modified. Example: 1. First go around, modification time is 3:45.325. This time is saved as 3:45.000 (i.e. sub-seconds are shaved off). 2. Second go around, modification time is again read as 3:45.325 and compared against the stored time, 3:45.000. 3:45.325 is more recent than 3:45.000, so the file is considered to have been modified. This change prevents the shaving off of sub-seconds. This will naturally work on systems that don't support sub-second granularity, as that 'field' will simply appear as all zeros. Closes #250
2014-03-26Revert "added gloabl metadata parsing"Jasper Van der Jeugt1-45/+2
This reverts commit e0f45b29b3f5e17c04ecd054b6c26c67d71e10e4. Conflicts: src/Hakyll/Core/Provider/Metadata.hs
2014-03-26Revert "Fix loadGlobalMetadata on Windows"Jasper Van der Jeugt1-4/+4
This reverts commit e71bbd90a8fb4b5de7796498aed4b95bb7abaebb.
2014-03-26Revert "Fix root directory in directory-wise metadata and beautify code"Jasper Van der Jeugt1-14/+20
This reverts commit a6ae4eb99dd5f9957adc3b5fe4011e69b9681e4c.
2014-03-26Revert "Track metadata dependencies"Jasper Van der Jeugt1-8/+12
This reverts commit 712ffa39b5857fdc5cdae1db38a177267a430b11. Conflicts: src/Hakyll/Core/Metadata.hs src/Hakyll/Core/Rules/Default.hs
2014-03-26Revert "Added test case for global metadata"Jasper Van der Jeugt1-1/+1
This reverts commit 46b6f78da8ed814bef6972f4712d8b13e76c1122. Conflicts: tests/data/posts/metadata
2014-01-23Merge pull request #190 from krsch/masterJasper Van der Jeugt1-2/+35
Implemented per-directory metadata support
2014-01-22Unified code for global and external metadataAlexey Kreshchuk1-5/+7
Didn't clean up unused code though
2013-11-18Detect change if metadata file is deletedJasper Van der Jeugt1-1/+3
Closes #191
2013-10-18Added test case for global metadataAlexey Kreshchuk1-1/+1
2013-10-16Track metadata dependenciesAlexey Kreshchuk1-12/+8
I had to prepend some Rules to global Rules set. This might be possible to replaced by a correct Store.set call. I also had to prepend some Compile rules.
2013-10-15Fix root directory in directory-wise metadata and beautify codeAlexey Kreshchuk1-20/+14
2013-10-12Fix loadGlobalMetadata on WindowsAlexey Kreshchuk1-4/+4
2013-10-11added gloabl metadata parsingAlexey Kreshchuk1-2/+43
2013-08-14Fix versions & metadata loading issueJasper Van der Jeugt2-3/+4
Closes #171
2013-05-04Minor style changesJasper Van der Jeugt1-4/+4
2013-05-04Added isMember to load functionnoxx1-7/+3
2013-05-04Style changes, move stuff to common parser moduleJasper Van der Jeugt1-1/+6
2013-04-03Account for absolute paths in `shouldIgnoreFile`Jasper Van der Jeugt1-4/+4
2013-02-26Fix broken test case for #115Jasper Van der Jeugt1-1/+1
2013-02-26Add testcase for #115Jasper Van der Jeugt2-2/+4
2013-02-26Ignore initial whitespace in a continuation line for a metadata fieldPeter Jones1-2/+3
When parsing a metadata field that spans several lines skip over the initial whitespace on each line. This allows alignment of metadata fields: --- description: A long description that would look better if it spanned multiple lines and was indented ---
2013-02-10Fix apparent remaining provider rewrite issuesJasper Van der Jeugt1-3/+4
2013-02-09Start provider rewriteJasper Van der Jeugt4-141/+137
2013-02-06Ignore files sooner, small speedupJasper Van der Jeugt1-2/+1
2013-02-06Use mtime instead of hashing files, much fasterJasper Van der Jeugt1-22/+36
2012-11-20Port page list module a bitJasper Van der Jeugt1-5/+11
2012-11-19Support old directory versions...Jasper Van der Jeugt1-3/+18
2012-11-19Add tests againJasper Van der Jeugt4-29/+40
2012-11-18Add Item abstractionJasper Van der Jeugt4-0/+356