From 675a696bcbb2da2133e661a6282fd6645dfa71ae Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 24 Jan 2016 09:26:18 +0000 Subject: Fix existence of index.html --- src/Site.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Site.hs b/src/Site.hs index c1e4854..b949807 100644 --- a/src/Site.hs +++ b/src/Site.hs @@ -87,8 +87,8 @@ main = hakyllWith config $ do ] renderRss (feedConfig tag) feedCtx =<< loadAllSnapshots pattern "content" - match "index.md" $ rulesExtraDependencies [tagsDependency tags] $ do - route $ setExtension ".html" + match "index.html" $ rulesExtraDependencies [tagsDependency tags] $ do + route idRoute -- $ setExtension ".html" compile $ do let ctx = mconcat [ listField "tags" defaultContext $ mapM (\(k, _) -> renderTag k tags) $ tagsMap tags , constField "title" "Index" -- cgit v1.2.3