Mostly for Rob...
I need to set a <base> element in the <head> of some HTML pages with the document's base url on Runestone builds.
It looks like the base URL doesn't exist as a standalone template for RS books. The closest is in the canonical-link template, which makes a local site-root variable.
I can just copy that logic, but it looks like there is a TODO, attached to it, so maybe this is a spot to rework?
There is of course baseurl, which is closely related, but we don't seem to expect RS authors to set that manually.
Would it make sense to promote site-root to global? Or maybe we should we automatically set $baseurl for Runestone books? Or make some new thing?