1
0
Fork 0
My personal site https://ruudvanasseldonk.com
Find a file
2025-03-02 21:29:44 +01:00
assets Import new 2023-07-30 GPG keys 2023-07-30 16:25:21 +02:00
docindex Update documentation index 2024-06-15 22:18:39 +02:00
fonts Update pinned Nixpkgs to 24.05 2024-09-08 10:37:07 +02:00
images Finish first version of Venn diagrams 2024-07-16 23:09:12 +02:00
posts Review the float post one more time 2025-03-02 21:28:45 +01:00
src Write about variance 2024-06-25 00:46:28 +02:00
templates Add Fosstodon link to the contact page 2025-02-23 21:05:36 +01: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 Add a Procfile 2025-02-23 21:32:10 +01:00
licence License code under the GNU General Public Licence 2015-10-17 00:25:48 +01:00
Procfile Add a Procfile 2025-02-23 21:32:10 +01:00
readme.md Update readme for Nix flake approach 2023-08-05 12:26:02 +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