From 4d5b4abd88551c97d434c25220660e5931fce75a Mon Sep 17 00:00:00 2001 From: Carlos Sosa Date: Thu, 15 Aug 2019 22:14:36 -0700 Subject: Add gsoc matcher and Pandoc syntax highlighting CSS file --- site.hs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'site.hs') diff --git a/site.hs b/site.hs index 3148518..6cd7c52 100644 --- a/site.hs +++ b/site.hs @@ -29,6 +29,12 @@ main = hakyll $ do >>= loadAndApplyTemplate "templates/post.html" archiveCtx >>= relativizeUrls + match "gsoc/*.org" $ do + route $ setExtension "html" + compile $ pandocCompiler + >>= loadAndApplyTemplate "templates/post.html" postCtx + >>= relativizeUrls + match "article/**" $ do route idRoute compile getResourceBody -- cgit v1.3-2-g0d8e