Hosting a Hakyll Blog On GitHub With a Custom Domain
Posted on June 14, 2016
- Create a GitHub user page. Follow the directions there to create a “Hello world” site. Don’t proceed until that works.
- Register a domain.
- Point your domain at your GitHub user pages site. It may take 3+ hours before your domain propagates. Don’t continue until this works.
- Install stack
- Install hakyll via
stack install hakyll
- Follow this tutorial.
However! You already have a
master
branch. That’s OK. But you do want to have aCNAME
file (see step 3 in this list) in yourdevelop
branch. Ensure your site looks good before proceeding. - You might want to look at some sample themes.
- If you want code syntax highlighting, you need some additional CSS. A list of supported languages can be found in the highlighting-kate source code.
- You might also want an RSS feed.
- You might also want tags.