diff options
author | rekado <rekado@elephly.net> | 2014-11-05 22:35:30 +0100 |
---|---|---|
committer | rekado <rekado@elephly.net> | 2014-11-05 22:35:30 +0100 |
commit | 35a2a9f71afed975c39a6a5ee99c899dd13c32c8 (patch) | |
tree | 389ec5ed3b608d319d5c2caaa9d0ef46b021b3ba /site.hs | |
parent | 3f0e34228d48c3a6fc6776c2d41f9fde251adcdd (diff) |
render posts/latest.html, not index.html
Diffstat (limited to 'site.hs')
-rw-r--r-- | site.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -96,7 +96,7 @@ main = hakyllWith config $ do create ["atom.xml"] $ postFeed renderAtom -- always show the most recent blog post - create ["index.html"] $ do + create ["posts/latest.html"] $ do route idRoute compile $ do mostRecent <- fmap head . recentFirst =<< loadAllSnapshots "posts/*.markdown" "non-relative" |