diff --git a/site/hakyll.hs b/site/hakyll.hs
index 71b413811..6eb8df5d9 100644
--- a/site/hakyll.hs
+++ b/site/hakyll.hs
@@ -65,19 +65,44 @@ pandocWriterOptions = defaultWriterOptions {
writerStandalone = True, -- ^ Include header and footer -- needs to be true to have a toc
writerTemplate = -- ^ Template to use in standalone mode
unlines
- [ "$if(title)$"
- , "
",
+ "$endif$",
+ "$endif$",
+ "$body$",
+ "$for(include-after)$",
+ "$include-after$",
+ "$endfor$"
],
-- writerVariables = [], -- ^ Variables to set in template
-- writerIncludeBefore = "", -- ^ Text to include before the body