summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2014-01-21set internalRules last, so that it can be overrided by rulesAlexey Kreshchuk1-1/+1
2014-01-19Add IsString instance for TemplateJasper Van der Jeugt5-103/+94
Closes #150
2014-01-19Fix escaped quotes + wordingDaniil Frumin1-3/+3
2014-01-19Documentation for the template macrosDaniil Frumin1-0/+83
2014-01-12Haddocks for `field`, `constField`, `bodyField`, and `titleField` in ↵Daniil Frumin1-2/+8
Web.Template.Context
2014-01-11Added documentation for 'Context' and 'defaultField'Daniil Frumin1-0/+25
2014-01-03Fix issue with metadataRoute for composed routesJasper Van der Jeugt1-5/+13
2013-12-05Revert "Throw an error in case of duplicate compilers"Jasper Van der Jeugt2-19/+6
This reverts commit ffbce966075d258b16b44e6856333ef41e4487f4.
2013-11-22Throw an error in case of duplicate compilersJasper Van der Jeugt2-6/+19
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 Kreshchuk4-14/+44
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-09-29Enable Pandoc highlighting by defaultJasper Van der Jeugt1-0/+3
2013-09-18updated to work with pandoc 1.12Jorge Israel Peña1-9/+6
Pandoc 1.12 decouples citeproc-hs from itself, so there is no longer a Text.Pandoc.Biblio module in Pandoc. Further, citeproc-hs depends on pandoc-types 1.10 but Pandoc 1.12 depends on pandoc-types 1.12. To alleviate these issues, pandoc-citeproc was created which includes a copy of the citeproc-hs source made to be compatible, since the developer of citeproc-hs is apparently MIA. pandoc-citeproc is a separate module that handles the mixture of citeproc-hs and Pandoc. It includes `processCites` in Text.CSL.Pandoc, which is the new name of what used to be `processBiblio` from Text.Pandoc.Biblio Most of these changes are seamless, consisting of simple name changes in both functions and modules. However, a more direct change in the Hakyll API itself is that `readPandocBiblio`'s second parameter, the CSL, is now mandatory, i.e. not of type Maybe. This is to reflect the same change in the underlying processing function from Text.CSL.Pandoc, `processCites`, where the Style argument is now mandatory, and the style is derived from the CSL. See the old function: processBiblio :: Maybe Style -> [Reference] -> Pandoc -> Pandoc Compared to the new one: processCites :: Style -> [Reference] -> Pandoc -> Pandoc Sources: * http://hackage.haskell.org/packages/archive/pandoc/1.11.1/doc/html/Text-Pandoc-Biblio.html * http://hackage.haskell.org/packages/archive/pandoc-citeproc/0.1/doc/html/Text-CSL-Pandoc.html Similarly, there is no longer a `readerReferences` field in the reader options structure.
2013-09-16Fix incorrect output of toSiteRoot on Windows.Saeid Al-Wazzan1-1/+1
toSiteRoot uses splitPath, joinPath, and takeDirectory from the System.FilePath module. On Windows systems, the implementation of joinPath will build up a path using the Windows path separator "\\". We don't want this behavior since the paths we are working with are always URLs, so we force POSIX behavior for System.FilePath.
2013-08-29add preview port Configuration fieldJorge Israel Peña2-7/+13
Make it possible to specify the default port to listen on when the preview server is run. This is useful if another service on the system already runs on port 8000 (the default), since it's a hassle to keep providing the port overriding option. For example: ./site preview vs. ./site preview -p 4000
2013-08-28* Preview now shows the deprecation message and calls watch.Eric Stolten2-9/+10
* Details on how to disable the server in the command description.
2013-08-251. Added the WATCH_SERVER flag that is enabled by defaultEric Stolten2-30/+39
1. Added an argument to watch, --no-server which will disable the embedded server. 1. Added a deprecation message to the preview mode
2013-08-20Merge branch 'upstream-master'Eric Stolten4-4/+10
2013-08-20Added a watch command that will continually poll for changes and rebuild them.Eric Stolten2-4/+42
2013-08-16Change type: metadataField :: Context aJasper Van der Jeugt1-1/+1
Closes #175
2013-08-14Fix versions & metadata loading issueJasper Van der Jeugt3-3/+9
Closes #171
2013-08-13Explode when using mapContext over ListFieldJasper Van der Jeugt1-3/+5
2013-08-10Add functionField againJasper Van der Jeugt2-1/+11
2013-08-05Add mapContext againJasper Van der Jeugt1-1/+11
2013-07-07check: unescape internal urisMarc-Antoine Perennou1-1/+2
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2013-06-30Correct example code: parseGlob ==> fromGlobuu11011-1/+1
2013-06-17Merge pull request #162 from uu1101/seq-stderrJasper Van der Jeugt1-0/+2
Deepseq stderr before closing the handle
2013-06-17Only add teaser when <!--more--> is thereJasper Van der Jeugt2-20/+33
2013-06-16Make toUri sanitise all characters neededSimonas Kazlauskas1-4/+6
2013-06-15Sanitize URLs in toUrlJasper Van der Jeugt1-2/+10
Closes #163
2013-06-14Set handle encoding as per localeuu11011-0/+1
2013-06-14Deepseq stderr before closing the handleuu11011-0/+1
Otherwise laziness allows for the handle to be closed withouth receiving the input. This caused that no error messages were printed when `unixFilter`s failed.
2013-06-06teaserContext -> teaserFieldJasper Van der Jeugt2-12/+13
2013-05-24Merge pull request #155 from blaenk/win32-preview-fixJasper Van der Jeugt1-3/+43
fix preview functionality on windows
2013-05-22finish incomplete commentJorge Israel Peña1-1/+1
2013-05-22add max-retries to waitOpen and gracefully handle remove/delete eventsJorge Israel Peña1-11/+22
2013-05-22Deploy should propagate error codeSimonas Kazlauskas3-5/+6
And return 1 if neither deployCommand and deploySite is set.
2013-05-22fix preview functionality on windowsJorge Israel Peña1-2/+31
2013-05-21Clean up type declarations, use fst and <$>.Evan Cofsky1-6/+4
2013-05-20Have Build and Rebuild exit with a status to the shell.Evan Cofsky2-14/+10
2013-05-07Add partials to template systemJasper Van der Jeugt4-6/+37
2013-05-06Implement foreach structureJasper Van der Jeugt6-44/+79
2013-05-06Paginate simplificationJasper Van der Jeugt3-208/+136
2013-05-05Added pagination support.Anton Dubovik2-0/+208
2013-05-05Logged dependencies adding for debugging purposes.Ivan N. Veselov1-1/+5
2013-05-04Changed the teaser separator to "more" to use the same format as WordPress does.Ivan N. Veselov1-1/+1