summaryrefslogtreecommitdiff
path: root/src/Hakyll/Web
AgeCommit message (Collapse)AuthorFilesLines
2014-06-26Fix build failure introduced by 3ee6f28Simonas Kazlauskas1-1/+1
Fixes #270
2014-06-13Merge pull request #269 from co-dan/demoteheadersJasper Van der Jeugt1-0/+1
Fix #223: `demoteHeaders` should not modify anything in the document, apart from the headers
2014-06-06Draft paginationJasper Van der Jeugt2-77/+89
2014-05-20Fix issue in paginate dependenciesJasper Van der Jeugt1-3/+3
2014-05-10Allow Emacs org-mode as markup-language in *.org filesAlbert Krewinkel1-0/+1
This closes #231.
2014-05-09Merge branch 'master' of github.com:jaspervdj/hakyllJasper Van der Jeugt1-0/+1
2014-04-19FIX: `toSiteRoot` no considers "./" to not be relavent.Izzy Cecil1-0/+1
2014-04-11Fix tag dependency issue, slightly improve cachingJasper Van der Jeugt2-5/+8
2014-02-16Fix #223: `demoteHeaders` should not modify anything in the document, apart ↵Daniil Frumin1-0/+1
from the headers
2014-01-28Don't cache pandocCompilerWithTransform, refactorJasper Van der Jeugt1-10/+9
2014-01-26Typo in Pandoc.hsDan1-1/+1
2014-01-24Added the `pandocCompilerWithTransformM` functionDaniil Frumin1-0/+16
2014-01-19Add IsString instance for TemplateJasper Van der Jeugt4-101/+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
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-16Change type: metadataField :: Context aJasper Van der Jeugt1-1/+1
Closes #175
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-06-17Only add teaser when <!--more--> is thereJasper Van der Jeugt1-3/+7
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-06teaserContext -> teaserFieldJasper Van der Jeugt1-11/+13
2013-05-07Add partials to template systemJasper Van der Jeugt3-5/+36
2013-05-06Implement foreach structureJasper Van der Jeugt5-43/+78
2013-05-06Paginate simplificationJasper Van der Jeugt2-206/+134
2013-05-05Added pagination support.Anton Dubovik1-0/+206
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. Veselov1-1/+13
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-04Style changes, move stuff to common parser moduleJasper Van der Jeugt3-45/+47
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-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
2013-04-23Adding in the short form date parsingParnell Springmeyer1-0/+1
2013-04-22Micro cleanupJasper Van der Jeugt1-10/+8
2013-04-22Merge pull request #133 from simukis/scheme-relativeJasper Van der Jeugt1-1/+1
Account for scheme-relative URLs
2013-04-21Fix indentIan Ross1-1/+1
2013-04-21Improve tag handling APIIan Ross1-24/+97
Expose function tagsFieldWith and renderTagCloudWith to provide more flexible tag rendering APIs; add tagCloudField and tagCloudFieldWith to provide context-based facility for tag cloud rendering.
2013-04-21Add "data" as a URL attributeIan Ross1-1/+1
2013-04-12Fix typoChristopher Young1-1/+1
2013-04-04Account for scheme-relative URLsSimonas Kazlauskas1-1/+1
http://url.spec.whatwg.org/#concept-scheme-relative-url
2013-04-04Debug info for Alternative instancesJasper Van der Jeugt1-1/+1
See #126
2013-03-16Merge pull request #123 from simukis/utc-updateJasper Van der Jeugt1-13/+25
Support timezones
2013-03-16Support timezones as wellSimonas Kazlauskas1-7/+24