Absolute URLs resolve to localhost in Hugo server preview
Goal: keep absolute URLs generated by hugo server consistent with those produced by hugo build for the same site configuration. Hugo’s local server defaults baseURL to http://localhost:1313/ unless --baseURL is supplied, overriding the value set in the site configuration. A production build uses the configured baseURL directly. Because helpers such as absURL