on master help sign in
Update interlude for defaultHakyllConfiguration.
commit2a21970c93b40717da3dabbd242b3b6b242c310a authorJasper Van der Jeugt <jaspervdj@gmail.com> dateThu 17 Jun 2010, 18:13 (16 years ago) parentcd6822f
1 file changed+3−7
examples/hakyll/tutorials/part07.markdown+3−7
examples/hakyll/tutorials/part07.markdown+3−7
@@ -48,16 +48,12 @@ It can be enabled this way:
4848import Text.Hakyll
4949import Text.Hakyll.Hakyll
5050
51−myHakyllConfiguration :: HakyllConfiguration
52−myHakyllConfiguration = defaultHakyllConfiguration
51+myConfig :: HakyllConfiguration
52+myConfig = (defaultHakyllConfiguration "http://jaspervdj.be")
5353 { enableIndexUrl = True
54− , -- Also set the absoluteUrl field, instead of passing
55− -- it directly to the hakyll function. If you do not
56− -- do this, rendered feeds will be invalid!
57− absoluteUrl = "http://jaspervdj.be"
5854 }
5955
60−main = hakyllWithConfiguration HakyllConfiguration $ do
56+main = hakyllWithConfiguration myConfig $ do
6157 -- Further code here
6258~~~~~
6359