Some renaming

This commit is contained in:
2018-09-20 22:01:03 +03:00
parent d89a2bae5c
commit 6afa6d55d4
3 changed files with 5 additions and 4 deletions

View File

@ -47,11 +47,11 @@ main = hakyll $ do
posts <- modFirst =<< loadAll "posts/guides/*"
let archiveCtx =
listField "posts" postCtx (return posts) `mappend`
constField "title" "Archives" `mappend`
constField "title" "Guides" `mappend`
defaultContext
makeItem ""
>>= loadAndApplyTemplate "templates/archive.html" archiveCtx
>>= loadAndApplyTemplate "templates/guides.html" archiveCtx
>>= loadAndApplyTemplate "templates/default.html" archiveCtx
>>= relativizeUrls