Commit Briefs


Omar Polo

more tweaks for the navigation

- move the user home for last - adjust how "up" works - include the user name in the "home" link


Omar Polo

tweak nav style and add some icons


Omar Polo

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.


Omar Polo

semplifications; now NULL is allowed


Omar Polo

include tmpl.h



Omar Polo

fix url handling in tp_figure

now we pass the correct url from proxy.c


Omar Polo

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.


Omar Polo

fix crash if path is NULL



Omar Polo

style; parenthesize returns


Omar Polo

workaround template compiler bug

the '\0' check doesn't seem to be correctly translated


Omar Polo

fix html generation

a space is mandatory between the tag and the attribute, but the template compiler trims it out. Use {{ " " }} as a workaround.


Omar Polo

fixup