summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-01-01Fix issue with syntax highlighting + line nums.Adelbert Chang1-13/+13
Below is the generated HTML for with line numbers and without line numbers, respectively. ```html <!-- Without line numbers --> <pre class="sourceCode scala"> <code class="sourceCode scala"> <span class="kw">trait</span> Monad[M[_]] </code> </pre> <!-- With line numbers --> <table class="sourceCode scala numberLines"> <tr class="sourceCode"> <td class="lineNumbers"> <pre>1</pre> </td> <td class="sourceCode"> <pre> <code class="sourceCode scala"> <span class="kw">trait</span> Monad[M[_]] </code> </pre> </td> </tr> </table> ``` The markdown used is: ``` ~~~~ { .scala } trait Monad[M[_]] ~~~~ ~~~~ { .scala .numberLines} trait Monad[M[_]] ~~~~ ``` Notice that without line numbers the outer `pre` has a `sourceCode` class whereas with line numbers the `sourceCode` class is only put in `code` and table-related tags. In the original `syntax.css` file synax highlighting was only triggered if the `kw` and friends tags were within a `pre.sourceCode` - that means it did not trigger with line numbers. This change removes the requirement for the `pre` prefix so that highlighting is triggered with or without line numbers, so long as the code is within *some* `.sourceCode` tag.
2013-12-27Add abizern.org to examplesJasper Van der Jeugt1-0/+2
2013-12-27Merge pull request #201 from mihaimaruseac/patch-1Jasper Van der Jeugt1-0/+2
Add http://techblog.rosedu.org to Hakyll Examples
2013-12-27Add http://techblog.rosedu.org to Hakyll ExamplesMihai Maruseac1-0/+2
A technical blog by ROSEdu (Romanian Open Source Education) which was recently moved to Hakyll. Still WIP on some parts.
2013-12-11Merge pull request #200 from bitraten/patch-1Jasper Van der Jeugt1-1/+1
Corrected small typo in migration guide
2013-12-10Corrected small typo in migration guidebitraten1-1/+1
2013-12-05Version bump (4.4.2.0)Jasper Van der Jeugt2-1/+6
2013-12-05Revert "Throw an error in case of duplicate compilers"Jasper Van der Jeugt2-19/+6
This reverts commit ffbce966075d258b16b44e6856333ef41e4487f4.
2013-12-05Bump various versionsJasper Van der Jeugt1-8/+8
2013-11-22Throw an error in case of duplicate compilersJasper Van der Jeugt2-6/+19
2013-11-20Merge pull request #196 from Tordek/masterJasper Van der Jeugt2-4/+4
Fixed unescaped dollar-signs in tutorials template.
2013-11-20Fixed README typoGuillermo O. Freschi1-1/+1
2013-11-20Fixed unescaped dollar-signs in tutorials template.Guillermo O. Freschi1-3/+3
2013-11-18Detect change if metadata file is deletedJasper Van der Jeugt1-1/+3
Closes #191
2013-10-19Bump tagsoupJasper Van der Jeugt1-3/+3
Closes #193
2013-10-18Bump cryptohash dependencyJasper Van der Jeugt1-3/+3
2013-10-18Added test case for global metadataAlexey Kreshchuk7-1/+85
2013-10-16Track metadata dependenciesAlexey Kreshchuk5-14/+45
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-10-07Add web.engr.oregonstate.edu/~walkiner/ exampleJasper Van der Jeugt1-0/+2
2013-09-29Enable Pandoc highlighting by defaultJasper Van der Jeugt3-1/+8
2013-09-29contributionJasper Van der Jeugt1-1/+1
2013-09-29Bump version (4.4.0.0), update changelogJasper Van der Jeugt2-1/+30
2013-09-29Merge remote-tracking branch 'piyush-kurur/master'Jasper Van der Jeugt1-0/+2
Conflicts: web/examples.markdown
2013-09-28added piyush's homepage to examplesPiyush P Kurur1-0/+2
2013-09-26Add dikmax.name to examplesJasper Van der Jeugt1-0/+2
2013-09-18Restrict pandoc version a bit moreJasper Van der Jeugt1-2/+2
2013-09-18updated to work with pandoc 1.12Jorge Israel Peña2-65/+62
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-17Merge pull request #181 from clinty/cryptohash0.10Jasper Van der Jeugt1-2/+2
Build with cryptohash 0.10.
2013-09-17Merge pull request #180 from clinty/quickcheck2.6Jasper Van der Jeugt1-1/+1
Work with QuickCheck 2.6
2013-09-16Build with cryptohash 0.10.Clint Adams1-2/+2
2013-09-16Work with QuickCheck 2.6Clint Adams1-1/+1
2013-09-16Merge pull request #179 from saeidw/windows-site-rootJasper Van der Jeugt1-1/+1
Fix incorrect output of toSiteRoot on Windows.
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-30Merge pull request #178 from blaenk/port-optionJasper Van der Jeugt2-7/+13
add preview port Configuration field
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-28Merge pull request #177 from stoltene2/masterJasper Van der Jeugt3-15/+85
Adding a watch command
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-26Merge pull request #176 from gwern/patch-1Jasper Van der Jeugt1-1/+1
Update examples.markdown: gwern.net repo home
2013-08-251. Added the WATCH_SERVER flag that is enabled by defaultEric Stolten3-30/+61
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-19Update examples.markdown: gwern.net repo homegwern1-1/+1
I've ceased hosting the repo myself since it has grown to 1.6GB, and instead put it on Patch-tag.com, so the command is no longer correct.
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-13Add eanalytica.com to examplesJasper Van der Jeugt1-0/+2
2013-08-10Add functionField againJasper Van der Jeugt6-2/+17