Commit graph

1514 commits

Author SHA1 Message Date
Jasper Van der Jeugt
bc1cfc8d5a Revert "Fix root directory in directory-wise metadata and beautify code"
This reverts commit a6ae4eb99d.
2014-03-26 12:05:38 +01:00
Jasper Van der Jeugt
6552dd5bc0 Revert "Track metadata dependencies"
This reverts commit 712ffa39b5.

Conflicts:
	src/Hakyll/Core/Metadata.hs
	src/Hakyll/Core/Rules/Default.hs
2014-03-26 12:05:38 +01:00
Jasper Van der Jeugt
e5446fd401 Revert "Added test case for global metadata"
This reverts commit 46b6f78da8.

Conflicts:
	tests/data/posts/metadata
2014-03-26 12:05:38 +01:00
Jasper Van der Jeugt
3db3933b0b Revert "set internalRules last, so that it can be overrided by rules"
This reverts commit d406db44e3.
2014-03-26 12:05:38 +01:00
Jasper Van der Jeugt
969f2351ef Merge pull request #233 from rekahsoft/master
Fix unixFilter on Windows
2014-03-26 12:05:24 +01:00
Jasper Van der Jeugt
81a970c293 Merge pull request #234 from chrisdotcode/master
Add flag to bind on selected host, instead of default "0.0.0.0"
2014-03-25 11:11:30 +01:00
chrisdotcode
c922ab57ac "Serve on" should be "bind on". 2014-03-24 05:20:19 -04:00
chrisdotcode
5af08f807e Add flag to bind on selected host. 2014-03-24 04:50:17 -04:00
Collin J. Doering
da7ae99b12 Fix unixFilter on Windows
On windows, the 'unixFilter' function used window's 'createProcess'
function to create the external process that will filter some String
input. The problem with this is that it is unable to execute batch
stubs (eg. anything created using 'gem install ...') even if its in
$PATH. Anyways a solution to this issue is to execute the batch file
explicitly using 'cmd /c batchfile' but there is no rational way to know
where said batchfile is on the system. My solution is to detect windows
using the System.Info module and then instead of using 'proc' to create
the function, use 'shell' instead which will be able to execute
everything 'proc' can + batch files.

Inspired by: http://www.blaenkdenum.com/posts/the-switch-to-hakyll/#scss

Signed-off-by: Collin J. Doering <rekahsoft@gmail.com>
2014-03-23 17:30:29 -04:00
chrisdotcode
1a63b931a0 Update git ignore with cabal sandbox files. 2014-03-23 13:12:17 -04:00
Jasper Van der Jeugt
677a7f0f2d Merge pull request #230 from nagisa/watch-threading
Use OS threads for watch in Windows
2014-03-05 11:21:55 +01:00
Simonas Kazlauskas
6521cd7cbc Mention -threaded option in the tutorial 2014-03-04 21:23:48 +02:00
Simonas Kazlauskas
766060ed78 Use OS threads for watch on Windows 2014-03-04 21:22:35 +02:00
Jasper Van der Jeugt
ecdc1d3efc Add http://www.corentindupont.info/ to examples 2014-02-25 10:31:04 +01:00
Jasper Van der Jeugt
e3fc6cd05b Merge pull request #224 from crodjer/example-rohanjain.in
Add www.rohanjain.in as an example for Hakyll 4
2014-02-24 10:45:25 +01:00
Rohan Jain
3eba064ae6 Add www.rohanjain.in as an example for Hakyll 4
Highlight: Clean URLs, Sitemaps

Signed-off-by: Rohan Jain <crodjer@gmail.com>
2014-02-17 19:27:45 +05:30
Daniil Frumin
3ee6f28c10 Fix #223: demoteHeaders should not modify anything in the document, apart from the headers 2014-02-16 15:43:52 +04:00
Jasper Van der Jeugt
fd889c563a Merge pull request #221 from kosmikus/check-exit-code-fix
hakyll check: return exit code of 0 on success
2014-02-11 13:32:39 +01:00
Andres Loeh
21585c18f3 hakyll check: return exit code of 0 on success
The old test returns an exit code of 1 whenever the number of
errors is >= 0, which should always be the case. The fix replaces
this with a test whether the number of errors is strictly > 0.
2014-02-11 11:07:43 +01:00
Jasper Van der Jeugt
5ab9655714 Merge pull request #217 from cbcb/master
Changed command to watch from deprecated preview
2014-01-30 01:00:08 -08:00
Christian Baumhof
4b34d16f9f Changed command to watch from deprecated preview 2014-01-30 00:53:57 +01:00
Jasper Van der Jeugt
251c019e9e Don't cache pandocCompilerWithTransform, refactor 2014-01-28 11:04:28 +01:00
Jasper Van der Jeugt
ca20400712 Merge pull request #215 from co-dan/pandoc-transf
Added the `pandocCompilerWithTransformM` function
2014-01-28 01:59:40 -08:00
Dan
84ba953ed3 Typo in Pandoc.hs 2014-01-26 10:14:04 +03:00
Daniil Frumin
8a29542ee6 Added the pandocCompilerWithTransformM function 2014-01-24 14:55:32 +04:00
Jasper Van der Jeugt
63107a6f75 Merge pull request #190 from krsch/master
Implemented per-directory metadata support
2014-01-23 01:29:01 -08:00
Alexey Kreshchuk
dbabe0325b Unified code for global and external metadata
Didn't clean up unused code though
2014-01-22 00:11:51 +04:00
Alexey Kreshchuk
d406db44e3 set internalRules last, so that it can be overrided by rules 2014-01-21 23:15:08 +04:00
Jasper Van der Jeugt
bc360a3f46 Use only one site on .darkfox.id.au in examples 2014-01-21 11:34:33 +01:00
Jasper Van der Jeugt
4a6ef60466 Merge branch 'patch-1' of git://github.com/james-darkfox/hakyll into james-darkfox-patch-1 2014-01-21 11:32:21 +01:00
Jasper Van der Jeugt
25ca41210d Bump tagsoup dependency
Closes #188
2014-01-21 11:29:18 +01:00
Jasper Van der Jeugt
677cca0578 Add IsString instance for Template
Closes #150
2014-01-19 21:25:18 +01:00
Jasper Van der Jeugt
c024ed8a93 Merge pull request #213 from co-dan/docpatches
Documentation for the template macros
2014-01-19 12:06:06 -08:00
Daniil Frumin
99c464d08f Fix escaped quotes + wording 2014-01-19 23:31:40 +04:00
Daniil Frumin
60f0043471 Documentation for the template macros 2014-01-19 23:20:47 +04:00
Jasper Van der Jeugt
2558ae004a Bump text dependency 2014-01-19 13:34:01 +01:00
Jasper Van der Jeugt
070f2c48e6 Merge pull request #212 from gwern/patch-2
Update examples.markdown
2014-01-19 04:17:16 -08:00
gwern
4b4d6bbee1 Update examples.markdown
updated gwern.net entry after an arduous switch to git and Hakyll-4
2014-01-18 15:48:13 -05:00
james-darkfox
ba8c417d15 Moved blog and changed purpose of root
I have moved the blog to blog.darkfox.id.au, hosting it on github for performance and darkfox.id.au (optionally with ssl), will include a /blog mirror and be more or less a front-page with my links / stats. (Not setup just yet)
2014-01-15 20:29:51 +11:00
Jasper Van der Jeugt
a37f8aedb4 Merge pull request #207 from co-dan/docpatches
More haddocks for Hakyll.Web.Template.Context
2014-01-14 07:33:44 -08:00
Daniil Frumin
52d49c4360 Haddocks for field, constField, bodyField, and titleField in Web.Template.Context 2014-01-12 23:56:49 +04:00
Jasper Van der Jeugt
1b1694d4bd Merge pull request #204 from hh-darkfox/patch-1
Updated darkfox.us.to to darkfox.id.au+SSL
2014-01-12 02:10:20 -08:00
Jasper Van der Jeugt
ab776799ba Merge pull request #206 from co-dan/docpatches
Added documentation for 'Context' and 'defaultField'
2014-01-11 15:30:50 -08:00
Daniil Frumin
cacac208ef Added documentation for 'Context' and 'defaultField' 2014-01-11 23:42:34 +04:00
Jasper Van der Jeugt
38ac6c218f Merge pull request #205 from co-dan/patch-1
Updated examples.markdown with a link to my site
2014-01-06 12:38:33 -08:00
Dan
835f80e0df Updated examples.markdown with a link to my site 2014-01-06 22:16:51 +03:00
hh-darkfox
9619c6f308 Updated darkfox.us.to to darkfox.id.au+SSL 2014-01-05 16:38:57 +11:00
Jasper Van der Jeugt
8321a2a259 Merge pull request #202 from adelbertc/fix-syntax-css
Fix issue with syntax highlighting + line nums.
2014-01-03 07:57:32 -08:00
Jasper Van der Jeugt
b7e4225e41 Merge pull request #203 from freizl/master
Add haisheng personal blog
2014-01-03 07:55:55 -08:00
Jasper Van der Jeugt
0c43160316 Version bump (4.4.3.0) 2014-01-03 16:41:54 +01:00