Warning about indexUrl's/absoluteUrl in tutorial.
This commit is contained in:
parent
54817e3f13
commit
1b73752de3
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue