I'm trying to get Shakespeare templates up and running; in particular Text.Hamlet. I have $(shamletFile "HTML/index.hamlet")
(See notes) and when I compile the file I get an error telling me the file does not exist. So I have tried various combinations of file paths trying to guess at what working directory is being used by the splice, but without success.
Where do shakespeare splices look for their files? Is this documented somewhere?
NOTES
- This path is relative to the source file using the template.
- I am not using the full Yesod framework, just the template engine.