summaryrefslogtreecommitdiff
path: root/site.hs
diff options
context:
space:
mode:
authorrekado <rekado@elephly.net>2014-11-05 22:35:30 +0100
committerrekado <rekado@elephly.net>2014-11-05 22:35:30 +0100
commit35a2a9f71afed975c39a6a5ee99c899dd13c32c8 (patch)
tree389ec5ed3b608d319d5c2caaa9d0ef46b021b3ba /site.hs
parent3f0e34228d48c3a6fc6776c2d41f9fde251adcdd (diff)
render posts/latest.html, not index.html
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 1fe4eff..d0a6272 100644
--- a/site.hs
+++ b/site.hs
@@ -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"