Fix base element

Fixes base href so that TOC works.