error in index route
This commit is contained in:
parent
089cce4f27
commit
091af5f9c7
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ main = do
|
|||
defaultContext
|
||||
|
||||
match "index.md" $ do
|
||||
route idRoute
|
||||
route $ setExtension "html"
|
||||
compile $ do
|
||||
posts <- fmap (take 5) . recentFirst =<< loadAll "posts/*"
|
||||
let indexCtx = listField "posts" (postCtx tags) (return posts) <>
|
||||
|
|
Loading…
Reference in a new issue