diff options
author | rekado <rekado@elephly.net> | 2013-01-24 17:56:09 +0800 |
---|---|---|
committer | rekado <rekado@elephly.net> | 2013-01-24 17:56:09 +0800 |
commit | b6671d25af3523b14802ed70dfc510505f193c17 (patch) | |
tree | 6c595102a3773c12b06528d3438796d714a1a0ca | |
parent | 022d3dabb055f64adfc894227fd14646de3c2b16 (diff) |
create "index.html" instead of matching it
-rw-r--r-- | site.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |