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/*"
|
||||
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
|
||||
|
||||
|
@ -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