summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2010-06-17 18:13:20 +0200
committerJasper Van der Jeugt <jaspervdj@gmail.com>2010-06-17 18:13:20 +0200
commit2a21970c93b40717da3dabbd242b3b6b242c310a (patch)
treed64ba33ff94aa87f3f25ba70bef57aedeeec0846
parentcd6822ff8b8b23600115bbcaaf086b54395d96e1 (diff)
downloadhakyll-2a21970c93b40717da3dabbd242b3b6b242c310a.tar.gz
Update interlude for defaultHakyllConfiguration.
-rw-r--r--examples/hakyll/tutorials/part07.markdown10
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
~~~~~