Right. I think I got it.
- By default, just leave config.toml’s baseurl="" (this will default to //localhost:1313 for “hugo serve”)
- When building the site anywhere else, specify hugo -b=“https://anywhere.else”
This way I can easily switch my baseurl depending on the env I am building for in my build scripts.
Thanks for clarifying, sir. Thanks much! Let me test this out.
EDIT: config.toml baseurl="" empty. Netlify build command modified to include -b=“https://dev.marijuanadaily.net”. All is well on my end for this site. Just need to modify my build script for my vps.
Thanks again, dude. Wicked!