-
Notifications
You must be signed in to change notification settings - Fork 419
Open
Labels
Description
Greetings!
I've been having some problems having hakyll make individual html pages for contributors to the website I'm making. Their bios are written in markdown and are in a separate folder from /posts. This is the code I have in my site.hs:
import Data.Monoid (mappend)
import Hakyll
..
..
match "authors/*" $ do
route $ setExtension "html"
compile $ pandocCompiler
>>= loadAndApplyTemplate "templates/author.html" defaultContext
>>= relativizeUrls
I included the import portion because it may be an error on my part for not having the right packages included.
I use the command stack exec site rebuild to compile the website. But, the author profiles are left untouched. And when I check the _site folder, the expected files and folder are not there.
Btw, I'm new to haskell.
Thank you!