I'm just starting out with Hakyll and am working with the default site that comes with hakyll init
. I tried putting the following in 2015-08-12.spqr.markdown
:
$partial("includes/DB.hs")$
It didn't work as expected - the post just showed the literal text $partial("includes/DB.hs")$
. It didn't pull in the content of includes/DB.hs
into the post. Then I tried adding the following to site.hs
, but even this didn't work:
match "includes/*" $ compile templateBodyCompiler
What am I missing?