Commit graph

140 commits

Author SHA1 Message Date
Jasper Van der Jeugt
50f8f819f9 Stuff works now (somewhat) 2012-11-13 19:03:58 +01:00
Jasper Van der Jeugt
f0af2a3b79 WIP 2012-11-13 17:31:03 +01:00
Jasper Van der Jeugt
d2e913f424 Work a bit on new runtime 2012-11-13 15:10:01 +01:00
Jasper Van der Jeugt
141e761ce1 Deprecate things, basics now work 2012-11-10 18:11:46 +01:00
Jasper Van der Jeugt
260e4e2e89 Context? 2012-11-10 16:30:38 +01:00
Jasper Van der Jeugt
6078e699bb Merge branch 'master' into hakyll4 2012-11-10 13:40:59 +01:00
Mateusz Loskot
0b7bfc72a1 Added %Y-%m-%d format to enable short date parsing in metadata. 2012-11-10 12:34:16 +00:00
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
1319bbfe4a Remove Resource type 2012-11-09 16:34:45 +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
eb3dd6c642 Small consistency changes 2012-08-12 03:48:39 +02: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
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
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
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
Eric Suh
757a0b90e3 Allow parsing of date/time from $published$ metadata field.
Allows parsing of date/time from $published$ metadata field by
a number of formats. Also includes a function to compare pages
by this parsed date, since in that case filename-based sorting
is no longer as useful for pagelist and RSS feed generation.
2012-02-05 17:30:05 -05:00
Jasper Van der Jeugt
d7e9b2f2d7 Add a test for renderDateField 2012-01-31 15:27:03 +01:00
Eric Suh
57b33f6639 Added parsing of an optional @datetime@ field
If @datetime@ is present in the format "January 1, 2000" or "January 1,
2000 1:00 PM", renderDateField uses that date preferentially over parsing
the date from the filename.
2012-01-29 16:00:17 -05:00
Jasper Van der Jeugt
e12e64233d Merge pull request #52 from lubomir/master
Make sorting tags easier
2012-01-25 01:58:45 -08:00
Jasper Van der Jeugt
98d311ebc8 Fix TagSoup options and bump its dependency 2012-01-25 10:36:17 +01:00
Lubomír Sedlář
db03816b5a Provide functions for sorting of tags (closes #22) 2012-01-24 23:33:07 +01:00
Jasper Van der Jeugt
b5f864afc0 Turn off TagSoup escaping 2012-01-19 19:46:06 +01:00
Jasper Van der Jeugt
c6fcb2f39d Include atom:updated in Atom feeds
Closes gh-49
2012-01-07 12:59:51 +01:00
Jasper Van der Jeugt
7951869a07 Bump Snap dependency
Fixes #46
2011-12-03 12:57:20 +01:00
Jasper Van der Jeugt
9ba8e1b07b Update hamlet docs 2011-11-28 09:23:48 +01:00
Jasper Van der Jeugt
12b4e8a0b2 Add escapeHtml function 2011-11-25 23:05:50 +01:00
Jasper Van der Jeugt
d61d7f19fc "Allow" missing keys in templates 2011-11-23 15:24:20 +01:00
Jasper Van der Jeugt
88519fef55 Fix bibliography handling 2011-11-22 08:39:44 +01:00
Jasper Van der Jeugt
d3140f397c Add a Pandoc.Biblio module 2011-11-21 20:27:35 +01:00
Jasper Van der Jeugt
7161567379 Fix spacing in tag list 2011-10-17 11:31:19 +02:00
Jasper Van der Jeugt
fb36aa1803 Update to hamlet 0.10.3 2011-10-05 11:58:32 +02:00
Jasper Van der Jeugt
c015be003e Add test for new relativizeUrls 2011-10-03 09:44:37 +02:00
Andy Irving
24ce687873 Don't relativize urls that lead with "//".
Used to reference absolute ath in another domain, without hardcoding protocol (so it works with http or https, and your browser won't complain about unsecure content)
Example: <script src="//ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js"></script>
2011-10-02 15:20:46 +01:00
Jasper Van der Jeugt
e910d53c44 Add a renderModificationTime function 2011-09-19 23:08:40 +02:00
Jasper Van der Jeugt
75f157ca8c Add some URL utilities 2011-09-06 22:27:53 +02:00
Jasper Van der Jeugt
308323bfc1 Allow ... as metadata delimiter 2011-07-18 18:47:11 +02:00
Jasper Van der Jeugt
0341108a87 Fix pandoc for page metadata keys 2011-07-08 08:53:00 +02:00
Jasper Van der Jeugt
3a4f1d18b4 Don't cache pageCompilerWithFields
Closes gh-33
2011-06-23 15:19:16 +02:00