summaryrefslogtreecommitdiff
path: root/site.hs
diff options
context:
space:
mode:
Diffstat (limited to 'site.hs')
-rw-r--r--site.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/site.hs b/site.hs
index 17d0aed..5bc34bb 100644
--- a/site.hs
+++ b/site.hs
@@ -17,7 +17,7 @@ main = hakyllWith hakyllConfig $ do
-- WORKAROUND: compressCssCompiler removes copyright notices
compile copyFileCompiler
- match (fromList ["about.md", "contact.md", "privacy.md"]) $ do
+ match (fromList ["about.md", "contact.md", "privacy.md", "code.md"]) $ do
route $ setExtension "html" `composeRoutes` appendIndex
let context = dropIndexHtml "url" <> defaultContext
compile $ pandocCompiler
@@ -60,7 +60,7 @@ main = hakyllWith hakyllConfig $ do
route idRoute
compile $ do
posts <- recentFirst =<< loadAll "posts/*"
- singles <- loadAll (fromList ["about.md", "contact.md", "privacy.md", "posts.html"])
+ singles <- loadAll (fromList ["about.md", "contact.md", "privacy.md", "code.md", "posts.html"])
let
pages = posts <> singles
sitemapContext =
Generated by cgit. See skreutz.com for my tech blog and contact information.