summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--site.hs2
1 files changed, 1 insertions, 1 deletions
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"