c***@gmail.com
2016-12-30 23:14:46 UTC
Is it possible to rename files matching a pattern? For instance, the
following properly converts all markdown files to html files recursively
from the v/ directory -
match "v/**" $ do
route $ setExtension ".html"
compile $ pandocCompiler
the best way to go about this?
I'll be hanging out on #freenode as crobbins, so feel free to ping me
there, thanks!
following properly converts all markdown files to html files recursively
from the v/ directory -
match "v/**" $ do
route $ setExtension ".html"
compile $ pandocCompiler
= loadAndApplyTemplate "templates/doc.html" docCtx
= loadAndApplyTemplate "templates/default.html" docCtx
= processUrls
But I'd like to rename any files named "README.md" as "index.html". What's= loadAndApplyTemplate "templates/default.html" docCtx
= processUrls
the best way to go about this?
I'll be hanging out on #freenode as crobbins, so feel free to ping me
there, thanks!
--
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.