Commit graph

320 commits

Author SHA1 Message Date
Jasper Van der Jeugt
6b11cba1ef Context module? 2012-11-10 13:26:39 +01:00
Jasper Van der Jeugt
4cb6f92414 Rewrite template application 2012-11-09 18:13:51 +01:00
Jasper Van der Jeugt
2834fd9494 Alternative instance for Compiler 2012-11-09 17:12:44 +01:00
Jasper Van der Jeugt
1319bbfe4a Remove Resource type 2012-11-09 16:34:45 +01:00
Jasper Van der Jeugt
dac3fac342 Rules will be in IO... 2012-11-08 13:50:08 +01:00
Jasper Van der Jeugt
89f324f81b Pick metadata parsing from old develop 2012-11-08 12:45:26 +01:00
Jasper Van der Jeugt
e5c97d978b Pick Store from the develop branch 2012-10-29 15:01:58 +01:00
Jasper Van der Jeugt
95d7eefe1f Allow date as field for renderDateField 2012-10-22 14:39:23 +09:00
Mateusz Loskot
09e75d3b3e Allow parsing of relaxed ISO8601 date format in published metadata field. Many of HTML to Markdown converters output non-ISO8601 through YAML emitters. YAML (and other systems) allow the T separator to be replaced by a space for increased readability (see http://sourceforge.net/mailarchive/message.php?msg_id=29987568). 2012-10-22 00:41:20 +01:00
Jasper Van der Jeugt
b11f07a11b Conditionals in preview server 2012-09-24 18:05:49 +09:00
Jasper Van der Jeugt
fe673bca72 Conditional getModificationTime 2012-09-24 17:58:23 +09:00
Jasper Van der Jeugt
50418117e7 Remove obsolete isObsolete method 2012-09-24 17:37:33 +09:00
Benjamin Weißenfels
4156202c7c corrected comments of setExtension 2012-09-01 12:29:37 +02:00
Jasper Van der Jeugt
178609cfd0 Run ./hakyll clean instead of just removing _cache 2012-08-30 09:36:15 +09:00
Arash Rouhani
255bb47079 Add hint for how to resolve a corrupt cache 2012-08-29 12:33:48 -03:00
Mekeor Melire
0a8df1dabf Merge remote-tracking branch 'upstream/master' 2012-08-13 01:30:06 +02:00
Mekeor Melire
ca17e43628 if a filename begins with a hash (#), hakyll should ignore it, too,
because emacs names its backup files like #this# (while you're still
editing).
2012-08-13 01:23:04 +02:00
Jasper Van der Jeugt
eb3dd6c642 Small consistency changes 2012-08-12 03:48:39 +02:00
Jasper Van der Jeugt
5bbbfca091 Merge pull request #80 from mekeor/master
exporiting more functions
2012-08-11 18:40:56 -07:00
Mekeor Melire
0f484c49be Merge remote-tracking branch 'upstream/master' 2012-08-11 01:31:27 +02:00
Jasper Van der Jeugt
f8fb0b271e Remove unused imports in Store 2012-08-10 09:40:17 +09:00
Mekeor Melire
998db08a7f I made Hakyll.Web.Tags export both 'getTags' and 'renderTagsFieldWith' in order to be able to customize how tags are read/parsed/rendered &c. 2012-08-09 00:51:46 +02:00
Jasper Van der Jeugt
edfdb7d677 Style nazi strikes! 2012-08-08 09:37:23 +09:00
Andrew Miller
d49694f58b Use lrucache to limit the in-memory resource cache to the 500 most recently
used items.

This stops swap being used on sites where not all the resources will fit in
memory, but ensures that frequently used resources like templates stay in the
cache. This drastically improves performance in such cases.
2012-08-08 11:41:29 +12:00
Andrew Miller
0b7b846a28 Make Resource Provider keep list of files in a set, rather than as a list, and
use Data.Set.member rather than Prelude.elem to test whether a resource exists.

On the site I'm currently working on (where there are ~1000 resources) this
makes hakyll about 25% faster.
2012-08-08 09:10:18 +12:00
Ivan N. Veselov
e3b2d07756 Added proper handling of windows newlines during whitespace compression of CSS files. Simpified several regexps. 2012-08-02 16:13:07 +03:00
Ivan N. Veselov
bc8821fa82 Added support for Windows newlines in pages.
Otherwise, we are getting the following error message during page reading if some of the pages are prepared in Windows, which is somewhat confusing:

hakyll: "page" (line 1, column 4):
unexpected "\r"
expecting "-", space or new-line
2012-08-02 16:02:25 +03:00
Rohan Jain
1130d7e610 Add author email to feed
Signed-off-by: Rohan Jain <crodjer@gmail.com>
2012-07-13 11:57:08 +05:30
Jasper Van der Jeugt
849d1f3236 Add test for #69, minor edits 2012-06-10 16:05:50 +02:00
Favonia
f96174bfcc Do not escape contents within 'style' tags. 2012-06-10 08:24:07 -04:00
Jasper Van der Jeugt
a27e254e0b Add constRoute
Closes #67
2012-05-29 23:39:07 +02:00
Jasper Van der Jeugt
7052768e4b Resource invariant: / as path separator 2012-05-18 18:24:57 +02:00
Jasper Van der Jeugt
264aeed33d Use splitPath 2012-05-18 17:17:51 +02:00
Jasper Van der Jeugt
778bb52b38 Oops 2012-05-12 14:03:43 +02:00
Jasper Van der Jeugt
484e0fb605 Merge branch 'stable' 2012-05-12 13:56:11 +02:00
Jasper Van der Jeugt
759f1e61ea Memory optimizations 2012-05-12 13:17:20 +02:00
Mark Wright
fe1703b9c3 changes for blaze-html 0.5 2012-04-23 23:14:01 +10:00
Rohan Jain
e72e5d171f Set author field by config author name
I can't seem to find the reason of having author field filled with
description.

Signed-off-by: Rohan Jain <crodjer@gmail.com>
2012-04-03 11:46:58 +05:30
Jasper Van der Jeugt
2c094ba80b Add textile support 2012-03-29 12:37:15 +02:00
Jasper Van der Jeugt
67a42e76d6 Cleaner error messages for missing metadata
Closes #58
2012-03-20 22:22:08 +01:00
Jasper Van der Jeugt
c95d056be8 Bump dependencies 2012-03-18 10:51:12 +01:00
Jasper Van der Jeugt
f1a19c860f Catch errors in compilers 2012-03-18 10:44:54 +01:00
Jasper Van der Jeugt
1996052b11 Add complement function for patterns 2012-02-19 20:39:23 +01:00
Troels Henriksen
80f385c361 Mention how groups work with Hakyll.Core.Rules.create. 2012-02-17 16:25:00 +01:00
Jasper Van der Jeugt
75b8c3e0d2 byIdentifier -> byPattern 2012-02-13 22:30:48 +01:00
Troels Henriksen
87f6279c62 Add byIdentifier compiler. 2012-02-13 21:44:38 +01:00
Jasper Van der Jeugt
593f25b172 Switch to regex-tdfa 2012-02-12 23:53:35 +01:00
Jasper Van der Jeugt
de55d03514 Bump pandoc dependency to 1.9 2012-02-06 16:04:18 +01:00
Jasper Van der Jeugt
a66eba49b6 Write getUTCMaybe using mplus, minor cleanup
See #53
2012-02-06 12:44:24 +01:00
Jasper Van der Jeugt
60d4730214 Merge remote-tracking branch 'ericsuh/master' 2012-02-06 12:24:03 +01:00