[layouts-base] add a `data-root` attribute to the html element containing the root URL