diff options
Diffstat (limited to 'site.hs')
-rw-r--r-- | site.hs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 = |