on master help sign in
Version bump
253f7c6Jasper Van der Jeugt
examples/hakyll/changelog.markdown+10
@@ -2,6 +2,16 @@
2title: Changelog
2title: Changelog
3---
3---
4
4
5+## Hakyll 2.3
6+
7+- Ability to choose between preview modes.
8+- Simple static configuration available.
9+- Support hamlet templates.
10+
11+## Hakyll 2.2.2
12+
13+- Cabal dependency fixes.
14+
5## Hakyll 2.2.1
15## Hakyll 2.2.1
6
16
7- Allow custom time locale for `renderDate`.
17- Allow custom time locale for `renderDate`.
examples/hakyll/tutorials/part08.markdown+11−5
@@ -22,11 +22,17 @@ Hakyll features a simple _auto-compilation_ mode. This is invoked by running
22Starting hakyll server on port 8000...
22Starting hakyll server on port 8000...
23~~~~~
23~~~~~
24
24
25−Now, Hakyll will recompile your site when you change files, so you can just
25+Now, Hakyll will recompile your site when you refresh in your browser. This will
26−refresh in your browser. There is one more thing to note: this will not update
27−your site automatically when `hakyll.hs` changes. So if you make any changes to
26+not update your site automatically when `hakyll.hs` changes. So if you make any
28−the configuration file, you'll have to compile it again, and then you can enter
27+changes to the configuration file, you'll have to compile it again, and then you
29−`preview` mode again.
28+can enter `preview` mode again.
29+
30+If you use a custom `HakyllConfiguration`, you can select your custom
31+`PreviewMode`:
32+
33+- `BuildOnRequest`: rebuild site when the preview server receives a request
34+ (default).
35+- `BuildOnInterval`: build when you change files.
30
36
31## When to rebuild
37## When to rebuild
32
38
hakyll.cabal+2−2
@@ -1,5 +1,5 @@
1Name: hakyll
1Name: hakyll
2−Version: 2.2.2
2+Version: 2.3
3
3
4Synopsis: A simple static site generator library.
4Synopsis: A simple static site generator library.
5Description: A simple static site generator library, mainly aimed at
5Description: A simple static site generator library, mainly aimed at
@@ -40,7 +40,7 @@ library
40 old-time == 1.*,
40 old-time == 1.*,
41 time >= 1.2,
41 time >= 1.2,
42 binary >= 0.5,
42 binary >= 0.5,
43− hamlet == 0.4.2
43+ hamlet >= 0.4.2
44 exposed-modules: Network.Hakyll.SimpleServer
44 exposed-modules: Network.Hakyll.SimpleServer
45 Text.Hakyll
45 Text.Hakyll
46 Text.Hakyll.Context
46 Text.Hakyll.Context