So I am using Hugo 0.73 along with the ‘Terminal’ theme.
When generating the static files, found in ‘public’ with ‘hugo server -renderToDisk’, all of my hrefs in my index.html and other HTML files, contain localhost:1313 E.g. "href=“http://localhost:1313/assets/style.css”.
This results in no CSS rendering due to the path being incorrect when I push my files to remote server.
In my config.toml, I set baseurl = “https://some_domain_name_here.com/” and it still writes the files with local host path as shown above.
Obviously, manually correcting this ever update isn’t practicable! Is this a bug or am I doing something terribly silly here?