1
0
Fork
You've already forked blog
0
My personal site https://ruudvanasseldonk.com
  • Haskell 48.4%
  • M4 11.9%
  • HTML 11%
  • CSS 11%
  • Python 10.1%
  • Other 7.5%
Find a file
2026年05月10日 11:31:36 +02:00
assets Add new GPG key 2025年07月29日 23:34:28 +02:00
docindex Put Codeberg first, GitHub second 2026年05月10日 11:31:36 +02:00
fonts Print font name when subsetting fails 2025年08月01日 23:14:12 +02:00
images Include screenshot of casting in 2019 2025年09月21日 23:15:56 +02:00
posts Fix GitHub link in Deptool post 2026年05月06日 13:47:13 +02:00
src Use only the year in all posts 2026年05月05日 15:25:40 +02:00
templates Fix link on frontpage 2026年05月06日 23:36:35 +02:00
tools Scale all coordinates by 10 in build graph svg 2018年08月16日 00:05:59 +02:00
.gitignore Add a Ninja file to compress the svgs 2024年07月01日 21:15:27 +02:00
flake.lock Update pinned Nixpkgs to 24.05 2024年09月08日 10:37:07 +02:00
flake.nix Reinstate and tune the threaded runtime 2025年07月31日 22:27:17 +02:00
licence License code under the GNU General Public Licence 2015年10月17日 00:25:48 +01:00
Procfile Rebuild site on template change 2025年08月04日 19:39:12 +02:00
readme.md Change primary domain to ruuda.nl 2026年05月05日 14:47:43 +02:00

Blog

This is the source code for my personal site. It is a static site generated by a homemade generator written in Haskell.

The generator includes a tiny templating engine, an html and css minifier, and an aggressive font subsetter. One of my objectives was to cut all the crap (which almost by definition includes javascript) without compromising on design. An average page of my site weighs less than jQuery alone (which describes itself as "lightweight footprint"). That includes webfonts.

This is version three of my blog. Previously I used Hakyll (available in the archived-hakyll branch), and before that I used Jekyll.

License

The source code for this site is licensed under version 3 of the the GNU General Public Licence. See the licence file. The content of the posts is licensed under the Creative Commons BY SA licence. For the font license details, see the readme in the fonts directory.

Compiling

All dependencies are available in a Nix ≥ 2.14 development environment that you can enter with

$ nix develop --command $SHELL

This will bring a python3 on the path with the right requirements for font subsetting, as well as the blog generator itself, and tools for compressing images.

The generator gets built as part of the development environment, but you can also compile it manually with GHC if you like. Then build the site (requires fonts to be present):

$ ghc -o blog src/*.hs # Optional
$ blog