Some renaming

This commit is contained in:
Mats Rauhala 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/*" posts <- modFirst =<< loadAll "posts/guides/*"
let archiveCtx = let archiveCtx =
listField "posts" postCtx (return posts) `mappend` listField "posts" postCtx (return posts) `mappend`
constField "title" "Archives" `mappend` constField "title" "Guides" `mappend`
defaultContext defaultContext
makeItem "" makeItem ""
>>= loadAndApplyTemplate "templates/archive.html" archiveCtx >>= loadAndApplyTemplate "templates/guides.html" archiveCtx
>>= loadAndApplyTemplate "templates/default.html" archiveCtx >>= loadAndApplyTemplate "templates/default.html" archiveCtx
>>= relativizeUrls >>= relativizeUrls

View File

@ -1,2 +0,0 @@
Here you can find all my previous posts:
$partial("templates/post-list.html")$

3
templates/guides.html Normal file
View File

@ -0,0 +1,3 @@
A list of small and big guides.
$partial("templates/post-list.html")$