From 091af5f9c76916102fea28bc1913ce019eed42b4 Mon Sep 17 00:00:00 2001 From: nek0 Date: Thu, 3 Mar 2016 23:33:48 +0100 Subject: [PATCH] error in index route --- src/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main.hs b/src/Main.hs index 1e9e0b0..52d7e3c 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -34,7 +34,7 @@ main = do defaultContext match "index.md" $ do - route idRoute + route $ setExtension "html" compile $ do posts <- fmap (take 5) . recentFirst =<< loadAll "posts/*" let indexCtx = listField "posts" (postCtx tags) (return posts) <>