Ardis Lu [Sat, 4 Apr 2026 08:04:29 +0000 (01:04 -0700)]
Add Cache-Control to response headers
This header asks the requester to cache like this:
0-1 hour: serve cached page
1 hour-7 days: serve cached page and revalidate in the background
7 days+: get and serve fresh page (no cache)
Not all web browsers (e.g., Google Chrome) will respect this header. It is mainly for CDNs or other layers I may decide to put in front of Caddy later.
Ardis Lu [Wed, 15 Oct 2025 06:43:29 +0000 (23:43 -0700)]
Remove Source Code Pro font
Fixes inconsistent whitespace collapsing in plaintext tables that use box-drawing characters (e.g., the `transcriber` repo). The `padding` adjustment is needed because Source Code Pro uses above average spacing compared to other monospaced fonts.
Ardis Lu [Sat, 27 Sep 2025 02:48:40 +0000 (19:48 -0700)]
Remove the ".git" suffix on the web view
Symlinks are necessary to retain the original ".git" folder so the clone URLs keep working. The bare non-".git" folder is just for the web view. This behavior matches GitHub and other git forges (i.e., no ".git" in the web URL, but include ".git" in the clone URL).
Ardis Lu [Thu, 11 Sep 2025 06:08:44 +0000 (23:08 -0700)]
Improve web view styling
This set of changes is intended to retain the original "feel" but improve usability. Mainly just making things bigger to better utilize screen space, and horizontal centering.