All notes

Web

A small static site

Keep publishing simple with plain HTML, a shared stylesheet, and local assets.

Choose the smallest useful set of files

A notes site needs articles, navigation, and a shared stylesheet. Put each article in its own directory with an index.html file so its link can end in a slash. Keep shared CSS in one place and let pages use the system font stack.

Let the document carry the structure

Use a single page title, meaningful headings, and links that describe their destinations. A keyboard user should be able to skip the navigation and see where focus lands. Check that long commands scroll inside their code blocks on narrow screens.

Give missing pages a useful response

Return a real 404 status with a short explanation and a link back to the notes index. A missing page should keep the same navigation and stylesheet as the rest of the site. Use the system color preference for the theme so both versions work with CSS alone.