summaryrefslogtreecommitdiff
path: root/site.hs
diff options
context:
space:
mode:
Diffstat (limited to 'site.hs')
-rw-r--r--site.hs6
1 files changed, 6 insertions, 0 deletions
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