Commit graph

209 commits

Author SHA1 Message Date
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
Jasper Van der Jeugt
7af4014e3f [awesome feature] Added combining of Renderables. 2010-01-19 09:53:52 +01:00
Jasper Van der Jeugt
da31280dd7 Unicode is a bitch.
I am leaving a character in one of the examples, so we would notice it
directly, should we ever break it again.
2010-01-19 09:15:39 +01:00
Sebastian Schwarz
271e7a386d Enable Pandoc's smart typography parsing.
Something like: -- to – and ... to …
2010-01-19 00:18:55 +01:00
Jasper Van der Jeugt
417ccaccfc Fixed unicode handling in server. 2010-01-18 22:16:31 +01:00
Jasper Van der Jeugt
31476dd6b8 Added basic support for metadata sections. 2010-01-18 21:33:38 +01:00
Jasper Van der Jeugt
597116a87d Added liftIO. 2010-01-18 19:32:06 +01:00
Jasper Van der Jeugt
06408148ee Merge branch 'master' of git://github.com/seschwar/Hakyll into experimental
Conflicts:
	hakyll.cabal
	src/Text/Hakyll/Page.hs
	src/Text/Hakyll/Render/Internal.hs
2010-01-18 19:30:43 +01:00
Sebastian Schwarz
e01531bd75 Added reStructuredText support.
Why not?  Quickly tested.  Seems to work fine.
2010-01-18 18:00:39 +01:00
Sebastian Schwarz
47fae0ed2a Added support for other common Markdown file extensions. 2010-01-18 17:51:28 +01:00
Jasper Van der Jeugt
673ed68b8f Added UTF8 where nessecary. 2010-01-18 09:11:43 +01:00
Jasper Van der Jeugt
8b668b3940 Fixed bug in section metadata writing. 2010-01-18 08:17:41 +01:00
Jasper Van der Jeugt
10dd6dafc0 Added section metadata writing. 2010-01-17 21:42:52 +01:00
Jasper Van der Jeugt
fb381ddfd3 Changed to tibbe's style guide for imports. 2010-01-17 14:43:41 +01:00
Jasper Van der Jeugt
aa44d6c0da Documentation++. 2010-01-17 12:37:55 +01:00
Jasper Van der Jeugt
0037344424 Use Text.Hakyll.Render.Internal to render tag cloud. 2010-01-17 12:14:54 +01:00
Jasper Van der Jeugt
6bacab4f22 Fixed warnings when compiling with the new GHC 6.12.1. 2010-01-17 09:57:32 +01:00
Jasper Van der Jeugt
129ab7f31a Minor code cleanup. 2010-01-15 15:41:42 +01:00
Jasper Van der Jeugt
62330ceae5 Moved some more functions from the IO monad to the Hakyll monad stack. 2010-01-15 09:47:07 +01:00
Jasper Van der Jeugt
f3c83030b9 Parallel version bump.
Conflicts:

	src/Text/Hakyll/Page.hs
2010-01-14 21:01:18 +01:00
Jasper Van der Jeugt
a180016488 Parallel version bump. 2010-01-14 20:59:31 +01:00
Jasper Van der Jeugt
4bc34b8a98 Added ReaderT to our stack. 2010-01-14 20:46:08 +01:00
Jasper Van der Jeugt
2851153eb6 User should always specify task. 2010-01-12 16:04:51 +01:00
Jasper Van der Jeugt
a26f84dab5 Added pure renderAndConcat function. 2010-01-12 14:48:16 +01:00
Jasper Van der Jeugt
ecd00b386e Added pure renderChain function. 2010-01-12 13:09:50 +01:00
Jasper Van der Jeugt
ef7ccb1514 Added pure render function. 2010-01-12 12:26:07 +01:00
Jasper Van der Jeugt
36b0b72b63 Fixed bug in page loading. 2010-01-12 08:48:11 +01:00
Jasper Van der Jeugt
0152a15b1e Some more strictness. 2010-01-12 08:40:44 +01:00
Jasper Van der Jeugt
53d9ba2193 Efficient file size. 2010-01-11 18:53:36 +01:00
Jasper Van der Jeugt
dc60463bbc Threw away bytestring. Simplicity++. 2010-01-11 14:07:00 +01:00
Jasper Van der Jeugt
dae0258a62 Readability++. 2010-01-11 13:56:32 +01:00
Jasper Van der Jeugt
7a765f29a2 Added $root in filepaths. 2010-01-11 10:02:33 +01:00
Jasper Van der Jeugt
e5202ce852 Added some strictness. 2010-01-11 09:19:23 +01:00
Jasper Van der Jeugt
8548888d1c Fixed $$ escaping. 2010-01-11 08:55:13 +01:00
Jasper Van der Jeugt
15733a1a1a Fixed bug in toURL. 2010-01-10 19:39:24 +01:00
Jasper Van der Jeugt
6bcad2701a Added custom Template system. Highly experimental. 2010-01-10 19:17:18 +01:00
Jasper Van der Jeugt
6a2e6998b1 Worked on substitution. 2010-01-10 13:26:57 +01:00
Jasper Van der Jeugt
bc71d54ab7 Started working on relative-url branch. 2010-01-10 12:16:47 +01:00
Jasper Van der Jeugt
73f6b1ab8c Some changes to the regex interface, and version bump. 2010-01-09 21:40:31 +01:00
Jasper Van der Jeugt
699bd0011e Added tagblog example (tutorial coming up). 2010-01-08 12:41:58 +01:00