Some renaming
This commit is contained in:
parent
d89a2bae5c
commit
6afa6d55d4
4
site.hs
4
site.hs
@ -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
|
||||||
|
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
Here you can find all my previous posts:
|
|
||||||
$partial("templates/post-list.html")$
|
|
3
templates/guides.html
Normal file
3
templates/guides.html
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
A list of small and big guides.
|
||||||
|
|
||||||
|
$partial("templates/post-list.html")$
|
Loading…
Reference in New Issue
Block a user