summaryrefslogtreecommitdiff
path: root/site.hs
diff options
context:
space:
mode:
authorrekado <rekado@elephly.net>2013-01-24 17:56:09 +0800
committerrekado <rekado@elephly.net>2013-01-24 17:56:09 +0800
commitb6671d25af3523b14802ed70dfc510505f193c17 (patch)
tree6c595102a3773c12b06528d3438796d714a1a0ca /site.hs
parent022d3dabb055f64adfc894227fd14646de3c2b16 (diff)
create "index.html" instead of matching it
Diffstat (limited to 'site.hs')
-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"