Commit Briefs
more tweaks for the navigation
- move the user home for last - adjust how "up" works - include the user name in the "home" link
add a navigation bar
This adds a simple navigation bar since web browser are apparently dumbler than most Gemini browsers. The "Root" link points to the capsule' root, "Home" to the current home directory and "Up" to the parent directory. Users home are discovered using a simple heuristics: ~user path components.
fix url handling in tp_figure
now we pass the correct url from proxy.c
tp_head/foot can be called with clt->clt_pc NULL; handle it
it happens when there's an error or we don't have a match for the proxy.
workaround template compiler bug
the '\0' check doesn't seem to be correctly translated
fix html generation
a space is mandatory between the tag and the attribute, but the template compiler trims it out. Use {{ " " }} as a workaround.