From 2a21970c93b40717da3dabbd242b3b6b242c310a Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Thu, 17 Jun 2010 18:13:20 +0200 Subject: Update interlude for defaultHakyllConfiguration. --- examples/hakyll/tutorials/part07.markdown | 10 +++------- 1 file 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 ~~~~~ -- cgit v1.2.3