summaryrefslogtreecommitdiff
path: root/site.hs
diff options
context:
space:
mode:
authorStefan Kreutz <mail@skreutz.com>2022-05-22 02:19:37 +0200
committerStefan Kreutz <mail@skreutz.com>2022-05-22 02:19:37 +0200
commit155a42f57804158aa678f4b766577257d4b21cda (patch)
tree35b7cd1c3a55fff2f16e7eecf1bf5b6ed11fcc57 /site.hs
parentf687522860d0619082c1ddb65e14775d9c35d031 (diff)
downloadblog-155a42f57804158aa678f4b766577257d4b21cda.tar
Link bare Git repositories
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.