Personal website with Hakyll.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css
images
posts
sass
talks
templates
traces
videos
.gitignore
.gitmodules
README.md
about.html
deploy.sh
hiking.html
index.html
package-lock.json
package.json
stack.yaml
talks.html
thibaud.cabal
thibaud.hs
webpack.mix.js

README.md

Thibaud Dauce

This is my personal website with Hakyll, all the explanations are in my blog post.

Requirements

Stack

You need to install the stack build tool first. See the official documentation for installation instructions.

On Arch Linux, just run:

pacman -S stack

Sass

I'm using libsass to compile my CSS. For installation instruction, go to https://github.com/sass/libsass.

On Arch Linux, just run:

pacman -S sassc

Installation

First, download GHC and all the Haskell stuff:

stack setup

Then, build the executable:

stack build

And finally, generate the website:

stack exec thibaud build

Usage

Haskell modification

Each time you modify the Haskell files, you need to rebuild the executable with:

stack build

Posts' creations and modifications

To start with a clean installation, run:

stack exec thibaud rebuild

This command will clean the _site folder and rebuild all the website.

Then run the web server with:

stack exec thibaud watch

This command will trigger a rebuild each time a file is changed. To rebuild the CSS after a change in a .scss file, you need to trigger a rebuild manually with stack exec thibaud rebuild.