Building this site
The site is statically generated from orgmode-files using emacs, and then hosted on github pages. The source is on github.
- As part of a github action:
- nix installs emacs with its required packages (based on using nix shell as a shebang).
ox-publish generates html from org-files in
content/.I use a pre-generated stylesheet for org-exports, which in includes syntax-highlighting for src-blocks. For now this seems (almost) good enough, but its missing highlighting for nix and haskell. There is a way to make htmlize generate css when exporting the org-files, but for that to work a grammar for every language needs to be available, and it should not clash with a global css.
- the generated files are pushed to the
ochsnerd/ochsnerd.github.iorepo.
- github magically publishes the files.
The above process is largely based on the tutorial by System Crafters.