diff options
author | Stefan Kreutz <mail@skreutz.com> | 2022-05-22 02:19:37 +0200 |
---|---|---|
committer | Stefan Kreutz <mail@skreutz.com> | 2022-05-22 02:19:37 +0200 |
commit | 155a42f57804158aa678f4b766577257d4b21cda (patch) | |
tree | 35b7cd1c3a55fff2f16e7eecf1bf5b6ed11fcc57 /site.hs | |
parent | f687522860d0619082c1ddb65e14775d9c35d031 (diff) | |
download | blog-155a42f57804158aa678f4b766577257d4b21cda.tar |
Link bare Git repositories
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 = |