diff --git a/site/hakyll.hs b/site/hakyll.hs
index 2d520e521..abe3627ff 100644
--- a/site/hakyll.hs
+++ b/site/hakyll.hs
@@ -114,18 +114,18 @@ cfg = (defaultHakyllConfiguration baseurl) {
  }
 
 -- the body part of pandoc 1.5.1.1's html output template
-pandocTemplate = "\
-\$if(title)$\
-\
$title$
\
-\$endif$\
-\$for(include-before)$\
-\$include-before$\
-\$endfor$\
-\$if(toc)$\
-\$toc$\
-\$endif$\
-\$body$\
-\$for(include-after)$\
-\$include-after$\
-\$endfor$\
-\"
+pandocTemplate = unlines
+    [ "$if(title)$"
+    , "$title$
"
+    , "$endif$"
+    , "$for(include-before)$"
+    , "$include-before$"
+    , "$endfor$"
+    , "$if(toc)$"
+    , "$toc$"
+    , "$endif$"
+    , "$body$"
+    , "$for(include-after)$"
+    , "$include-after$"
+    , "$endfor$"
+    ]