diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-06-17 18:13:20 +0200 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-06-17 18:13:20 +0200 |
commit | 2a21970c93b40717da3dabbd242b3b6b242c310a (patch) | |
tree | d64ba33ff94aa87f3f25ba70bef57aedeeec0846 /examples | |
parent | cd6822ff8b8b23600115bbcaaf086b54395d96e1 (diff) | |
download | hakyll-2a21970c93b40717da3dabbd242b3b6b242c310a.tar.gz |
Update interlude for defaultHakyllConfiguration.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/hakyll/tutorials/part07.markdown | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/examples/hakyll/tutorials/part07.markdown b/examples/hakyll/tutorials/part07.markdown index 539dbea..d5c194c 100644 --- a/examples/hakyll/tutorials/part07.markdown +++ b/examples/hakyll/tutorials/part07.markdown @@ -48,16 +48,12 @@ It can be enabled this way: import Text.Hakyll import Text.Hakyll.Hakyll -myHakyllConfiguration :: HakyllConfiguration -myHakyllConfiguration = defaultHakyllConfiguration +myConfig :: HakyllConfiguration +myConfig = (defaultHakyllConfiguration "http://jaspervdj.be") { enableIndexUrl = True - , -- Also set the absoluteUrl field, instead of passing - -- it directly to the hakyll function. If you do not - -- do this, rendered feeds will be invalid! - absoluteUrl = "http://jaspervdj.be" } -main = hakyllWithConfiguration HakyllConfiguration $ do +main = hakyllWithConfiguration myConfig $ do -- Further code here ~~~~~ |