diff --git a/site.hs b/site.hs index e016964..de6264b 100644 --- a/site.hs +++ b/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 diff --git a/templates/archive.html b/templates/archive.html deleted file mode 100644 index b43eeb2..0000000 --- a/templates/archive.html +++ /dev/null @@ -1,2 +0,0 @@ -Here you can find all my previous posts: -$partial("templates/post-list.html")$ diff --git a/templates/guides.html b/templates/guides.html new file mode 100644 index 0000000..579fb96 --- /dev/null +++ b/templates/guides.html @@ -0,0 +1,3 @@ +A list of small and big guides. + +$partial("templates/post-list.html")$