Projet de site statique en Haskell
At the moment, it seems a little hacky: templates from Kit.Templates are compiled as html in a _templates directory, so that Hakyll can use them. It seems that I might have to compile twice at times, as templates may not be cached when I want to apply them. Might have to sort this out, or it is a happy hack.. |
||
---|---|---|
app | ||
posts | ||
src | ||
test | ||
.ghci | ||
.gitignore | ||
CHANGELOG.md | ||
etienne-moqueur.cabal | ||
package.yaml | ||
README.md | ||
Setup.hs | ||
stack.yaml | ||
stack.yaml.lock |
My new attempt at a personal site
It uses Hakyll, a Haskell static site compiler, along with other Haskell libs:
- Shakespeare (Hamlet) to generate html
- Clay to preprocess css
Building
Build using stack
:
stack build
and then to compile the actual site:
stack run build