fix non-root baseURL usage
It seems like the relURL function in Hugo has changed behavior at some point when getting passed input that starts with a trailing slash. Let's correct these, and instead pass URLs that are relative to the root.
This fixes rendering of previews on GitLab.