summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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
2013-05-04Added a comment explaining "teaserContext" function.Ivan N. Veselov1-0/+3
2013-05-04Added "teasers" support to be used in posts index.Ivan N. Veselov2-1/+33
Just add "<!-- teaser_end -->" to separate the teaser and the rest of the article and use "$teaser$" key in the template! Closes issue #35.
2013-05-04Minor style changesJasper Van der Jeugt2-13/+11
2013-05-04Created tests and fixed isMember functionnoxx1-11/+10
2013-05-04Added isMember to load functionnoxx1-7/+3
2013-05-04Added isMember functions for Storenoxx1-0/+22
2013-05-04Style changes, move stuff to common parser moduleJasper Van der Jeugt6-49/+82
2013-05-04Merge remote-tracking branch 'sphynx/master'Jasper Van der Jeugt4-40/+75
2013-05-03Removed unnecessary import.Ivan N. Veselov1-1/+1
2013-05-03Added support for "$if$" statement in templates.Ivan N. Veselov3-40/+67
2013-05-03Added MonadError's instance for Compiler.Ivan N. Veselov1-0/+8
2013-05-03Close open cache files as soon as possibleJasper Van der Jeugt1-15/+24
See #124
2013-05-03More granular dependencies for routesJasper Van der Jeugt3-13/+29
See #121
2013-04-29Merge pull request #138 from christopheryoung/masterJasper Van der Jeugt1-1/+1
Documentation tweaks: two small typos and $PATH variable documentation for OS X