diff options
-rw-r--r-- | site.hs | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -23,7 +23,6 @@ main = hakyllWith hakyllConfig $ do compile $ pandocCompiler >>= loadAndApplyTemplate "templates/direct.html" context >>= loadAndApplyTemplate "templates/default.html" context - >>= relativizeUrls match "posts/*" $ do route $ setExtension "html" `composeRoutes` appendIndex @@ -31,7 +30,6 @@ main = hakyllWith hakyllConfig $ do >>= loadAndApplyTemplate "templates/post.html" postContext >>= saveSnapshot "content" >>= loadAndApplyTemplate "templates/default.html" postContext - >>= relativizeUrls create ["posts.html"] $ do route appendIndex @@ -46,7 +44,6 @@ main = hakyllWith hakyllConfig $ do makeItem "" >>= loadAndApplyTemplate "templates/posts.html" archiveContext >>= loadAndApplyTemplate "templates/default.html" archiveContext - >>= relativizeUrls create ["feeds/posts.rss"] $ do route idRoute @@ -80,19 +77,16 @@ main = hakyllWith hakyllConfig $ do getResourceBody >>= applyAsTemplate indexContext >>= loadAndApplyTemplate "templates/default.html" indexContext - -- >>= relativizeUrls match "err.html" $ do route idRoute compile $ pandocCompiler >>= loadAndApplyTemplate "templates/default.html" defaultContext - >>= relativizeUrls match "404.html" $ do route idRoute compile $ pandocCompiler >>= loadAndApplyTemplate "templates/default.html" defaultContext - >>= relativizeUrls match "templates/*" $ compile templateBodyCompiler |