Commit graph

304 commits

Author SHA1 Message Date
Jasper Van der Jeugt
e687662ba0 teaserContext -> teaserField 2013-06-06 10:21:18 +02:00
Simonas Kazlauskas
0a818d0725 Deploy should propagate error code
And return 1 if neither deployCommand and deploySite is set.
2013-05-22 15:24:26 +03:00
Jasper Van der Jeugt
d32307aa1c Add partials to template system 2013-05-07 09:28:09 +02:00
Jasper Van der Jeugt
cf138a415b Implement foreach structure 2013-05-06 23:32:25 +02:00
Ivan N. Veselov
946723dc9d Logged dependencies adding for debugging purposes. 2013-05-05 12:58:31 +03:00
Ivan N. Veselov
2651627189 Added "teasers" support to be used in posts index.
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-04 17:26:22 +03:00
Jasper Van der Jeugt
ca80171caf Minor style changes 2013-05-04 15:18:26 +02:00
noxx
f4ee3e7fcb Created tests and fixed isMember function 2013-05-04 15:42:28 +03:00
noxx
0f779a8c53 Added isMember to load function 2013-05-04 13:05:47 +03:00
noxx
a3021bc703 Added isMember functions for Store 2013-05-04 12:51:58 +03:00
Jasper Van der Jeugt
4100083709 Style changes, move stuff to common parser module 2013-05-04 11:36:58 +02:00
Jasper Van der Jeugt
28bc3f1f3b Merge remote-tracking branch 'sphynx/master' 2013-05-04 11:14:35 +02:00
Ivan N. Veselov
617322ae8c Added MonadError's instance for Compiler. 2013-05-03 19:10:11 +03:00
Jasper Van der Jeugt
ec1f961c4e Close open cache files as soon as possible
See #124
2013-05-03 16:21:14 +02:00
Jasper Van der Jeugt
8f534400be More granular dependencies for routes
See #121
2013-05-03 11:03:49 +02:00
Jasper Van der Jeugt
cf98381508 Add event filtering based on pattern 2013-04-04 11:47:50 +02:00
Jasper Van der Jeugt
cbfc7c18e1 Debug info for Alternative instances
See #126
2013-04-04 00:26:05 +02:00
Jasper Van der Jeugt
c40cf286af Add getResourceFilePath
See #130
2013-04-03 12:07:03 +02:00
Jasper Van der Jeugt
5e4adaecb2 Account for absolute paths in shouldIgnoreFile 2013-04-03 12:02:06 +02:00
Jasper Van der Jeugt
bf496c2f55 We'll do it ourselves 2013-03-30 11:31:14 +01:00
Jasper Van der Jeugt
5d7e252d27 UnixFilter improvements
Closes #128
2013-03-30 10:58:02 +01:00
Samuel Tardieu
543cba90f6 Allow overriding the deploy command with Haskell code
By overriding `deploySite` with a `Configuration -> IO ()` code,
the user can execute Haskell code to deploy the site rather than
shell code.

The default behaviour honors the `deployCommand` configuration
field and is backward compatible.
2013-03-24 21:52:21 +01:00
Jasper Van der Jeugt
6c8fda2c00 Fix issue in Compiler Alternative instance 2013-03-24 19:21:33 +01:00
Jasper Van der Jeugt
d840363bf0 Merge remote-tracking branch 'piyush-kurur/master'
Conflicts:
	hakyll.cabal
2013-03-11 15:53:00 +01:00
Jasper Van der Jeugt
9b305229be Use resourceFilePath for copyFileCompiler
Closes #117
2013-03-07 18:48:11 +01:00
Piyush P Kurur
d6f6657c28 refactored the Default instance of Configuration 2013-03-07 18:04:21 +05:30
Piyush P Kurur
7fc2f677d9 fixing the coding style 2013-03-07 17:56:56 +05:30
Piyush P Kurur
439847eb6f added a default instance for Configuration 2013-03-07 16:46:17 +05:30
Jasper Van der Jeugt
a48b53c385 Add utility getMetadataField 2013-03-07 11:18:34 +01:00
Jasper Van der Jeugt
9bd35cd755 Add makePatternDependency 2013-03-05 12:51:27 +01:00
Jasper Van der Jeugt
3b9b11c636 Fix broken test case for #115 2013-02-26 19:24:54 +01:00
Jasper Van der Jeugt
d993ebce58 Add testcase for #115 2013-02-26 19:20:55 +01:00
Peter Jones
4d244168a7 Ignore initial whitespace in a continuation line for a metadata field
When parsing a metadata field that spans several lines skip over the
initial whitespace on each line.  This allows alignment of metadata
fields:

    ---
    description: A long description that would look better if it
                 spanned multiple lines and was indented
    ---
2013-02-26 10:41:03 -07:00
Jasper Van der Jeugt
4c40cea9e1 Merge branch 'master' into dev-metadata-route
Conflicts:
	tests/Hakyll/Core/Rules/Tests.hs
2013-02-16 13:01:57 +01:00
Jasper Van der Jeugt
1c2804287a Add a test for compiler/route ordering 2013-02-16 12:59:38 +01:00
Jasper Van der Jeugt
61dcb5f454 Merge branch 'master' into dev-metadata-route 2013-02-14 10:08:21 +01:00
Jasper Van der Jeugt
8c575ae521 Fix apparent remaining provider rewrite issues 2013-02-10 22:15:34 +01:00
Jasper Van der Jeugt
86d0b68aed Start provider rewrite 2013-02-09 15:11:40 +01:00
Jasper Van der Jeugt
ea953d3415 Ignore files sooner, small speedup 2013-02-06 22:40:18 +01:00
Jasper Van der Jeugt
d34d56b10e Use mtime instead of hashing files, much faster 2013-02-06 20:50:44 +01:00
Jasper Van der Jeugt
603e1c20c3 Bail when different compilers for the same id 2013-02-02 21:56:42 +01:00
Miikka Koskinen
8d8392ebdf Fix unixFilterLBS example to use unixFilterLBS 2013-02-02 19:04:48 +02:00
Jasper Van der Jeugt
2912fcd521 Add metadataRoute 2013-01-21 22:45:50 +01:00
Jasper Van der Jeugt
46ae23d326 Fix dependency cycle issue 2013-01-20 21:55:40 +01:00
Jasper Van der Jeugt
e53ca6724c Make run return ExitCode 2013-01-15 17:15:46 +01:00
Jasper Van der Jeugt
cf47549f0a Haddock fix 2013-01-14 15:11:52 +01:00
Jasper Van der Jeugt
d2aaf335c3 Pattern version updates 2013-01-14 15:05:24 +01:00
Jasper Van der Jeugt
4280b75ef6 Append missingField before applying templates
This gives better errror messages in some cases
2013-01-14 10:47:04 +01:00
Jasper Van der Jeugt
1ceb5eb205 Produce even more output when running with -v 2013-01-13 11:35:11 +01:00
Robin Windels
f0e474ceb9 a unixFilter for non Posix (well windows)
Conflicts:
	src/Hakyll/Core/UnixFilter.hs
2013-01-13 09:45:44 +01:00