Projet de site statique en Haskell
Find a file
etienne 2d5e928689 Added rudimentary blog posts functionality
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..
2022-09-21 19:56:36 +02:00
app Added rudimentary blog posts functionality 2022-09-21 19:56:36 +02:00
posts Added rudimentary blog posts functionality 2022-09-21 19:56:36 +02:00
src Added rudimentary blog posts functionality 2022-09-21 19:56:36 +02:00
test First commit 2022-09-21 18:02:50 +02:00
.ghci First commit 2022-09-21 18:02:50 +02:00
.gitignore First commit 2022-09-21 18:02:50 +02:00
CHANGELOG.md First commit 2022-09-21 18:02:50 +02:00
etienne-moqueur.cabal Added rudimentary blog posts functionality 2022-09-21 19:56:36 +02:00
package.yaml First commit 2022-09-21 18:02:50 +02:00
README.md First commit 2022-09-21 18:02:50 +02:00
Setup.hs First commit 2022-09-21 18:02:50 +02:00
stack.yaml First commit 2022-09-21 18:02:50 +02:00
stack.yaml.lock First commit 2022-09-21 18:02:50 +02:00

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