Thicket thicket
cambridge
REPOS 4

Projects covers Forester, Merry, xdge and ocaml-crockford.

W35.2026 · 24–30 Aug / Issue

“Home” link appears on homepage in static output

tangled · jonmsterling.com/ocaml-forester · did:plc:jjiv56ot7d6sgethto3jr3r5

Go to: https://www.jonmsterling.com/index/. Something unusual is happening. If I open the Web Inspector while reloading the page, the class flashes briefly as nav hidden and then turns to nav.

I did some spelunking and left a comment where I think the issue is (97c77a668a01194ec198e13ad6bcda5585f837dc) but I don't know how the most reasonable way to fix this. I think that checking the address in this way is not robust. I gather you are doing this because the dynamic renderer may swap out part of the page, and therefore needs to update the home link state. Maybe one way to do it is to have whatever is the thing getting swapped out have some attribute that indicates whether it is the home tree, and then read from that rather than comparing addresses. But I'm open to ideas.

Comments

did:plc:4gj3ihsdh6fn3aqq5bdnw5w3

Fixed by https://tangled.org/jonmsterling.com/ocaml-forester/commit/080b401a88e909488ec2bfce321183fedbb26bdf ?


did:plc:4gj3ihsdh6fn3aqq5bdnw5w3

Fixed by https://tangled.org/jonmsterling.com/ocaml-forester/commit/080b401a88e909488ec2bfce321183fedbb26bdf and https://tangled.org/jonmsterling.com/ocaml-forester/commit/a43a7b3c90c039969f8c6428e668ec2c2f086107


did:plc:jjiv56ot7d6sgethto3jr3r5

thanks so much!