diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-06-17 17:42:51 +0200 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-06-17 17:42:51 +0200 |
commit | 1b73752de3b6a4111ff4156d41bec571864ad42a (patch) | |
tree | 1e3651bafaede0d3b2ff2eb62fcbecd1cb4c2742 /examples | |
parent | 54817e3f1395a4b424befdd36f989790fb580e67 (diff) | |
download | hakyll-1b73752de3b6a4111ff4156d41bec571864ad42a.tar.gz |
Warning about indexUrl's/absoluteUrl in tutorial.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/hakyll/tutorials/part07.markdown | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/hakyll/tutorials/part07.markdown b/examples/hakyll/tutorials/part07.markdown index 9a516a3..e5a385c 100644 --- a/examples/hakyll/tutorials/part07.markdown +++ b/examples/hakyll/tutorials/part07.markdown @@ -51,6 +51,10 @@ import Text.Hakyll.Hakyll myHakyllConfiguration :: HakyllConfiguration myHakyllConfiguration = defaultHakyllConfiguration { 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 |