Simplicity of This Web Site
Resulting HTML
- No JS, no tracking, no custom fonts
- No external CSS
- Minimal styling
- This page weighs just 3K
The largest part of the CSS is the styling of the navigation bar. I could have went with a line of text links separated by spaces, but I wanted to have a clearly visible navigation at the top. Using such a small amount of CSS also removed the need for any CSS preprocessors like Sass.
Generation
- Lightweight markdown (smu)
- Minimal templating
- No dynamic content, just static files
- Use existing Unix tools (sh, sed, optionally entr)
Downsides
- Current page is not highlighted
Suggestions on how to add these in the most simple way are welcome!
Source code
See all the details in the source code at https://github.com/karlb/karl.berlin.
Written on draft.