Use baseUrl() so links work when running from a subfolder

I noticed permalinks were not working on my local since the root of the link was hardcoded to be `/`. This fixes that.