From b6671d25af3523b14802ed70dfc510505f193c17 Mon Sep 17 00:00:00 2001 From: rekado Date: Thu, 24 Jan 2013 17:56:09 +0800 Subject: create "index.html" instead of matching it --- site.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'site.hs') diff --git a/site.hs b/site.hs index 3ce4335..0f897bd 100644 --- a/site.hs +++ b/site.hs @@ -74,7 +74,7 @@ main = hakyllWith config $ do >>= relativizeUrls -- always show the most recent blog post - match "index.html" $ do + create ["index.html"] $ do route idRoute compile $ do mostRecent <- (head . recentFirst) <$> loadAllSnapshots "posts/*.markdown" "non-relative" -- cgit v1.2.3