on master help sign in
Warning about indexUrl's/absoluteUrl in tutorial.
commit1b73752de3b6a4111ff4156d41bec571864ad42a authorJasper Van der Jeugt <jaspervdj@gmail.com> dateThu 17 Jun 2010, 17:42 (16 years ago) parent54817e3
1 file changed+4
examples/hakyll/tutorials/part07.markdown+4
examples/hakyll/tutorials/part07.markdown+4
@@ -51,6 +51,10 @@ import Text.Hakyll.Hakyll
5151myHakyllConfiguration :: HakyllConfiguration
5252myHakyllConfiguration = defaultHakyllConfiguration
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"
5458 }
5559
5660main = hakyllWithConfiguration HakyllConfiguration $ do