Jasper Van der Jeugt
bda268273b
Make pandoc functions work on pages by default
2010-12-27 11:14:04 +01:00
Jasper Van der Jeugt
d25dcb698e
Fix typo in comments
2010-12-27 10:12:19 +01:00
Jasper Van der Jeugt
c1d16cdab3
Add Page parser
2010-12-27 10:07:31 +01:00
Jasper Van der Jeugt
4981cfbb7f
Add string utility module
2010-12-27 10:07:07 +01:00
Jasper Van der Jeugt
e6c758e6dc
Add Page module
2010-12-26 19:03:03 +01:00
Jasper Van der Jeugt
bc92f7fea5
Add resourceDigest function
2010-12-26 16:22:05 +01:00
Jasper Van der Jeugt
95f59be5a0
Simple key-value store
2010-12-26 16:12:57 +01:00
Jasper Van der Jeugt
b30123f93c
Add resourceLazyByteString function
2010-12-26 16:12:48 +01:00
Jasper Van der Jeugt
515968716f
Add pandoc bindings
2010-12-26 13:22:25 +01:00
Jasper Van der Jeugt
79ce331869
Consistent naming: ReStructuredText → Rst
2010-12-26 13:21:55 +01:00
Jasper Van der Jeugt
9939708c66
Consistent naming: target vs compiler
2010-12-26 13:21:27 +01:00
Jasper Van der Jeugt
bd5f6ca579
UnknownFileType → Binary
2010-12-26 12:32:24 +01:00
Jasper Van der Jeugt
ab7c9bef64
Add FileType module
2010-12-26 12:31:36 +01:00
Jasper Van der Jeugt
7f4b5e542c
Add getIdentifier function in target
2010-12-26 12:31:15 +01:00
Jasper Van der Jeugt
36ec2c15b8
Add targetFromString compiler function
2010-12-26 11:57:42 +01:00
Jasper Van der Jeugt
427a740038
Ignore unexisting files in obsolete check
2010-12-26 11:57:19 +01:00
Jasper Van der Jeugt
53d179a7da
Add file utility module
2010-12-26 09:38:40 +01:00
Jasper Van der Jeugt
5bc8028696
Add DirectedGraph to DOT module
2010-12-26 00:09:35 +01:00
Jasper Van der Jeugt
ec85de418b
Prototype Run module
2010-12-25 22:02:20 +01:00
Jasper Van der Jeugt
0cd7716dae
Add writable class
2010-12-25 20:18:36 +01:00
Jasper Van der Jeugt
6b6a78ea41
Add rules module
2010-12-25 19:37:21 +01:00
Jasper Van der Jeugt
c372fc47da
Add Compiler module
2010-12-25 18:15:44 +01:00
Jasper Van der Jeugt
12c446785c
Add target module
2010-12-24 16:55:20 +01:00
Jasper Van der Jeugt
4b7c42d644
Add resource provider modules
2010-12-24 08:42:05 +01:00
Jasper Van der Jeugt
4bdd93b331
Add Route code
2010-12-23 19:20:05 +01:00
Jasper Van der Jeugt
07ca8954a5
Minor change to pattern documentation
2010-12-23 18:24:19 +01:00
Jasper Van der Jeugt
10328b890c
Document the pattern module a bit
2010-12-23 18:22:16 +01:00
Jasper Van der Jeugt
3fdf8ab204
Add identifier/pattern modules
2010-12-23 17:19:21 +01:00
Jasper Van der Jeugt
d1d28b9349
Add tests for the directed graph modules
2010-12-23 14:51:38 +01:00
Jasper Van der Jeugt
ad6712121f
Add directed graph modules
2010-12-23 14:31:45 +01:00
Jasper Van der Jeugt
9b63052148
Remove old code for now
2010-12-23 14:31:30 +01:00
Jasper Van der Jeugt
fef1172c77
ContextManipulations → Metadata
2010-12-13 22:02:54 +01:00
Jasper Van der Jeugt
0da0dd469d
Experimental changes for a re-write
2010-12-13 20:41:26 +01:00
Jasper Van der Jeugt
8da7d5b653
One implementation for toDestination and toCache
2010-11-15 16:00:28 +01:00
Jasper Van der Jeugt
1b5a0220f9
Add default title
2010-11-14 22:48:48 +01:00
Jasper Van der Jeugt
50459dcad8
Add renderMissingValue function
2010-11-12 09:10:03 +01:00
Jasper Van der Jeugt
46de95a1b0
Fix compile error
2010-10-28 13:41:29 +02:00
Jasper Van der Jeugt
6b44cef123
Add a takeBody function
2010-10-28 13:32:34 +02:00
Jasper Van der Jeugt
1f169dd0a0
Arrow version of addField
2010-10-28 01:29:13 +02:00
Jasper Van der Jeugt
cb1fec60f5
Add an addField
function
2010-10-28 01:13:37 +02:00
Jasper Van der Jeugt
9d99eda221
Provide an arrow-based interface to Pandoc module
2010-10-04 17:34:32 +02:00
Jasper Van der Jeugt
111828d282
Provide simple renderActionWith
function
2010-10-04 17:14:20 +02:00
Jasper Van der Jeugt
371bc0347b
Clean up yesterday's work, fix tests
2010-10-04 14:14:41 +02:00
Jasper Van der Jeugt
c73c09270d
Clean up modules a bit
2010-10-04 01:27:03 +02:00
Jasper Van der Jeugt
08c4d74a2f
Separate pandoc from page reading, general caching
2010-10-04 01:20:17 +02:00
Jasper Van der Jeugt
cd24697158
Disable partial functions (thanks chrisdone)
2010-10-02 11:54:47 +02:00
Jasper Van der Jeugt
b6d4bc5d0e
Add concurrency features
2010-10-01 19:22:59 +02:00
Jasper Van der Jeugt
4be1717297
Document withTagMap function
2010-10-01 18:57:09 +02:00
Jasper Van der Jeugt
9b9020f203
Treat .page extensions as markdown
2010-10-01 17:17:41 +02:00
Jasper Van der Jeugt
e52c5d8b2f
Fix warnings
2010-09-27 16:05:45 +02:00
Jasper Van der Jeugt
3631e42f49
Migrate to BlazeHtml for HTML generation
2010-09-23 11:59:50 +02:00
Jasper Van der Jeugt
ae7cc9f324
Export all modules in Text.Hakyll, for the lazy
2010-09-23 10:36:37 +02:00
Jasper Van der Jeugt
d0a9d01062
Readable errors when hamlet parsing fails
2010-08-06 12:50:59 +02:00
Jasper Van der Jeugt
a09a27027a
Fix link bug in paginate module
2010-08-06 11:21:45 +02:00
Jasper Van der Jeugt
acbdf6c329
Refactored Template data structure.
2010-08-06 10:52:03 +02:00
Jasper Van der Jeugt
69ca4255f0
Hamlet support (experimental)
2010-08-05 18:41:15 +02:00
Jasper Van der Jeugt
2c8d76cd97
Add a simple static configuration
2010-08-02 13:48:08 +02:00
Jasper Van der Jeugt
2066be0621
Add inHakyllDirectory function and test cases
2010-08-02 12:59:22 +02:00
Jasper Van der Jeugt
1af0421efe
Option to choose between preview modes
2010-07-31 12:55:41 +02:00
Jasper Van der Jeugt
6059de5401
User can supply custom time locale for renderDate
2010-06-22 11:53:15 +02:00
Jasper Van der Jeugt
bb9ea6f122
Add newtype for Context
2010-06-20 10:45:17 +02:00
Jasper Van der Jeugt
2282e78e9c
Allow markdown/tex/... in templates
2010-06-18 00:13:10 +02:00
Jasper Van der Jeugt
cd6822ff8b
Force setting of absoluteUrl with custom config.
2010-06-17 18:08:46 +02:00
Jasper Van der Jeugt
e3253e79e3
Rewrote preview mode.
...
Preview mode is now based on server requests
instead of time intervals. This should solve
some problems out there.
2010-06-16 18:00:09 +02:00
Jasper Van der Jeugt
b1d4f48d24
Server allows URL's containing '?'.
2010-05-25 19:13:55 +02:00
Jasper Van der Jeugt
eac0473a0b
Typo fix by masak.
2010-05-25 18:00:30 +02:00
Jasper Van der Jeugt
c31f22c79a
Add possibility to change URL through Arrows.
2010-05-22 11:07:28 +02:00
Jasper Van der Jeugt
06aa9fbc7b
Expose pandoc options (patch by JD Marble).
2010-05-20 23:54:38 +02:00
Jasper Van der Jeugt
ff57c2f660
Added fix to allow dashes in pages.
...
Hakyll splits pages into metadata sections by lines starting
with `---`. Because of this, thing like
Header
------
Some text.
will not parse. This commit fixes this, by fixating the length
of the the dash pattern -- all dashed lines should contain the
same number of dashes. Therefor, you can use something like
---
title: Foobar
---
Header
------
Some text.
2010-04-04 15:08:59 +02:00
Jasper Van der Jeugt
057b7fa485
Moved Arbitrary Template instance to tests.
...
This way, the code for Text.Hakyll.Internal.Template is
cleaner, and our library does not depend on QuickCheck
anymore.
2010-04-01 12:27:27 +02:00
Jasper Van der Jeugt
193dc6d3d8
Updated tutorial about categoryblog.
2010-03-31 13:51:28 +02:00
Jasper Van der Jeugt
0be1f8afbf
Fixed error causing post lists to be reversed.
...
This error was caused when rendering post lists produced by
readTagMap. I also gave some shorter implementations for functions
in Text.Hakyll.HakyllAction.
2010-03-27 16:40:45 +01:00
Jasper Van der Jeugt
509f919997
Fixed error when rendering literate Haskell.
...
Literate haskell was not listed in the pattern matching on
FileType's, so it gave an error that the file type could not be
rendered. This was quickly resolved by adding it to the list.
2010-03-26 16:49:12 +01:00
Jasper Van der Jeugt
c9e3458083
Added .txt
support, tests update.
...
- Pure text files are now supported.
- We now hide the Internal modules.
- Tests should be run through ghci.
- Added testing of page reading.
2010-03-26 14:10:10 +01:00
Jasper Van der Jeugt
47586163d2
Added renderBody function.
2010-03-14 22:19:07 +01:00
Jasper Van der Jeugt
9acf269cea
Changes String to FilePath on appropriate places.
2010-03-12 16:46:27 +01:00
Jasper Van der Jeugt
fa88a0e922
Started writing Hakyll 2.x tutorials. Updated brochure example.
2010-03-11 18:03:48 +01:00
Jasper Van der Jeugt
01d8c4b330
Updated some comments.
2010-03-11 12:25:49 +01:00
Jasper Van der Jeugt
a2c15932b7
Gave some functions better (more appropriate) names.
2010-03-11 12:10:55 +01:00
Jasper Van der Jeugt
d25b0b6834
Moved some modules around for fun and profit.
2010-03-11 11:03:40 +01:00
Jasper Van der Jeugt
35e8246484
Merged Text.Hakyll.Internal.Render into Text.Hakyll.Render.
2010-03-10 19:47:53 +01:00
Jasper Van der Jeugt
23f9d1e0cf
Removed xxxWith functions, they can be implemented more elegant using Arrows anyway.
2010-03-10 16:02:17 +01:00
Jasper Van der Jeugt
fa28eac8a3
Renamed RenderAction to HakyllAction.
2010-03-10 13:35:53 +01:00
Jasper Van der Jeugt
24959fd68b
Fixed some minor issues.
2010-03-09 18:47:35 +01:00
Jasper Van der Jeugt
0204dd678a
Added Arrow implementation for RenderAction.
2010-03-09 18:26:53 +01:00
Jasper Van der Jeugt
4756b82329
Documented Text.Hakyll.Feed.
2010-03-08 22:54:41 +01:00
Jasper Van der Jeugt
45459c3a20
Added renderAtom, feeds now validate.
2010-03-08 21:42:56 +01:00
Jasper Van der Jeugt
64b640f97d
Added RSS date for items.
2010-03-08 19:04:53 +01:00
Jasper Van der Jeugt
d023eb5bf6
Added Text.Hakyll.Internal.FileType module.
2010-03-08 18:44:12 +01:00
Jasper Van der Jeugt
94400da4a0
Documented Text.Hakyll.RenderAction.
2010-03-08 09:10:09 +01:00
Jasper Van der Jeugt
7cbeb1739f
createCustomPage can automatically infer dependencies.
2010-03-07 23:18:30 +01:00
Jasper Van der Jeugt
89d6cb26bb
Documentation++, added copyValue function.
2010-03-06 18:11:06 +01:00
Jasper Van der Jeugt
1736710b9e
Added RSS module.
2010-03-06 15:39:45 +01:00
Jasper Van der Jeugt
f47fd1a967
Added rebuild mode.
2010-03-06 10:25:26 +01:00
Jasper Van der Jeugt
7ae56f7d4b
Fixed bug with tag rendering.
2010-03-05 19:02:49 +01:00
Jasper Van der Jeugt
65b1a9cf00
Fixed bug in date rendering.
2010-03-05 19:02:25 +01:00
Jasper Van der Jeugt
f1b1e179aa
Reintegrated Tag module.
2010-03-05 18:50:33 +01:00
Jasper Van der Jeugt
034c659b91
Aliased RenderAction () Context
to Renderable, custompages now have correct dependencies.
2010-03-05 16:18:52 +01:00
Jasper Van der Jeugt
45eb74655f
Removed deprecated code.
2010-03-05 12:48:52 +01:00
Jasper Van der Jeugt
664111c001
Simplified css and static code.
2010-03-05 12:22:09 +01:00
Jasper Van der Jeugt
cd51ba5789
Removes superfluous functions, added some logging.
2010-03-05 12:02:54 +01:00
Jasper Van der Jeugt
5d577bb8ef
static and css now both use arrows.
2010-03-04 23:52:52 +01:00
Jasper Van der Jeugt
66ad9ce7f2
Again an url mistake, now the simpleblog works too.
2010-03-04 22:45:50 +01:00
Jasper Van der Jeugt
6b4b8064cd
Fixed url inclusion bug. Brochure example works now.
2010-03-04 22:37:50 +01:00
Jasper Van der Jeugt
11996929aa
Got it to compile again, disabled Tags for now.
2010-03-04 22:09:41 +01:00
Jasper Van der Jeugt
192c4a16ea
Work on migration to arrows. Compulation fails.
...
- Update readPage to produce a Hakyll Context.
- Update createPagePath to produce a Context Arrow.
- Move Page to internal modules.
2010-03-04 09:50:25 +01:00
Jasper Van der Jeugt
76ebcf97b4
First careful transition from data to arrows. It compiles, but that's about it.
2010-03-04 00:02:37 +01:00
Jasper Van der Jeugt
e4f09b0a05
Clean up pagination, disable first/last link when on first/last page.
2010-03-01 18:50:02 +01:00
Jasper Van der Jeugt
eaf0c230fb
Added simple pagination (unstable).
2010-03-01 18:17:12 +01:00
Jasper Van der Jeugt
9576700a77
Some more documentation.
2010-02-27 17:35:39 +01:00
Jasper Van der Jeugt
ea1bb41726
Readability improvements.
2010-02-27 17:32:27 +01:00
Jasper Van der Jeugt
9591142755
Cleanup with hlint.
2010-02-27 17:28:03 +01:00
Jasper Van der Jeugt
d980dd48ba
Minor tweaks on site, made PagePath a newtype.
2010-02-27 17:24:28 +01:00
Jasper Van der Jeugt
c9d4624a42
Updated tests.
2010-02-16 19:18:53 +01:00
Jasper Van der Jeugt
87e7e99a8c
Better lhs writing.
2010-02-16 17:24:32 +01:00
Jasper Van der Jeugt
6611e86ac5
Added autocompile mode to replace preview mode.
2010-02-12 12:01:23 +01:00
Jasper Van der Jeugt
732fdc9894
Fixed indexUrl error with html pages.
2010-02-02 14:07:24 +01:00
Jasper Van der Jeugt
c4b1fd5900
Added indexUrl option - experimental.
...
This option will render, for example, about.html to about/index.html. This way, url's will generally look more pretty.
2010-02-01 16:43:26 +01:00
Jasper Van der Jeugt
fbd9ff95bd
A little more documentation.
2010-01-31 13:40:15 +01:00
Jasper Van der Jeugt
7afabf5c09
Better naming scheme.
2010-01-31 11:19:57 +01:00
Jasper Van der Jeugt
c49cc9a046
Added a sortByBaseName function.
2010-01-29 18:36:42 +01:00
Jasper Van der Jeugt
3f5df5ea59
Some more documentation.
2010-01-28 14:55:25 +01:00
Jasper Van der Jeugt
0d2cfb08a7
Categories are more or less stable now.
2010-01-28 13:00:23 +01:00
Jasper Van der Jeugt
a600b84662
Documented Text.Hakyll.Tags.
2010-01-28 12:29:05 +01:00
Jasper Van der Jeugt
b9e843e367
Started a cleanup of Text.Hakyll.Tags.
2010-01-27 23:48:40 +01:00
Jasper Van der Jeugt
f9a4b4f6f4
Added an option for categories instead/in addition to tags. Experimental.
2010-01-27 18:52:11 +01:00
Jasper Van der Jeugt
5928459858
Added createListing, createListingWith functions.
...
These functions were added to have a simpler and more high-level way to do the
common createCustomPage/renderAndConcat combination to create post lists, rss
feeds, ...
2010-01-27 18:02:43 +01:00
Jasper Van der Jeugt
cf2c4ad77c
Fixed typos in comments.
2010-01-27 12:42:15 +01:00
Jasper Van der Jeugt
8e78fe04f6
Made Arbitrary Page instance.
2010-01-25 15:12:20 +01:00
Jasper Van der Jeugt
fe7182d288
Added support for literate haskell files - patch by Mark Harris.
2010-01-24 19:14:16 +01:00
Jasper Van der Jeugt
d97a53b6b4
Changed test system. Wrote some test cases.
2010-01-24 19:00:49 +01:00
Jasper Van der Jeugt
42bacee41a
Module cleanup.
2010-01-24 16:40:09 +01:00
Jasper Van der Jeugt
aef33d18da
Added Template type (experimental).
2010-01-24 16:27:43 +01:00
Jasper Van der Jeugt
d6fbe303ae
Simplified pureRenderAndConcat function.
2010-01-24 14:05:18 +01:00
Jasper Van der Jeugt
788a37cd3e
Use ascending list for serializing where possible.
2010-01-24 11:55:40 +01:00
Jasper Van der Jeugt
4295de01bc
Added tagMap caching.
...
Because the readTagMap function was currently one of the bottlenexks, this has
caused a speedup of 900% for some test cases, so yay for that.
2010-01-24 11:31:36 +01:00
Jasper Van der Jeugt
59e3c7f277
Wrote some more documentation.
2010-01-24 10:30:19 +01:00
Jasper Van der Jeugt
6c94ad7992
Documentation++.
2010-01-23 18:20:10 +01:00
Jasper Van der Jeugt
5f8ea066d6
Added changeExtension ContextManipulation.
2010-01-23 17:12:49 +01:00
Jasper Van der Jeugt
d7f04a2c6d
Strictness cleanup.
2010-01-23 10:25:47 +01:00
Jasper Van der Jeugt
aaa7771809
Some more documentation.
2010-01-21 09:19:14 +01:00
Jasper Van der Jeugt
cf789c7ac6
Speedup of factor 4 by switching to the Data.Binary library for serialization.
2010-01-20 22:08:15 +01:00
Jasper Van der Jeugt
892cae9da2
Added caching again. But now the more sexy, stable and fast version.
2010-01-20 17:10:08 +01:00
Jasper Van der Jeugt
8602f23f7b
Made site and cache directory configurable. Caching stubs.
2010-01-20 16:46:22 +01:00
Jasper Van der Jeugt
715387756e
Made hakyll function backward-compatible. Version bump.
2010-01-19 20:42:16 +01:00
Jasper Van der Jeugt
db0eef8470
Removed debug output.
2010-01-19 16:40:30 +01:00
Jasper Van der Jeugt
68facf83ec
Removed page caching.
...
I am removing page caching for the following reasons (in no particular order):
- It is very error-prone because the pandoc output might interfere with the
Hakyll page layout (and thus would pages be read incorrectly).
- Timestamping is a much better method to save compilation time.
- It would also mess up Unicode sometimes.
- Hakyll is aimed at small to medium sites. This caching would not bring a huge
speedup anyway.
Note: there still is timestamp checking!
2010-01-19 16:34:41 +01:00
Jasper Van der Jeugt
fe77089955
Made page parser a little less strict.
2010-01-19 15:50:04 +01:00
Jasper Van der Jeugt
f5a6c4974d
Hakyll now passes HLint.
2010-01-19 14:08:19 +01:00
Jasper Van der Jeugt
77f9129e73
Cleaner page reading.
2010-01-19 10:08:31 +01:00