From 155a42f57804158aa678f4b766577257d4b21cda Mon Sep 17 00:00:00 2001 From: Stefan Kreutz Date: Sun, 22 May 2022 02:19:37 +0200 Subject: Link bare Git repositories --- site.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'site.hs') 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 = -- cgit v1.2.3