s***@vacationlabs.com
2016-11-21 04:45:40 UTC
Cross-posted from https://github.com/jaspervdj/hakyll/issues/486:
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?
-- Saurabh.
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?
-- Saurabh.
--
You received this message because you are subscribed to the Google Groups "hakyll" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hakyll+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "hakyll" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hakyll+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.