I don’t know if this is intended behaviour, but…
If I use hugo server
to run a local development server, and then do hugo deploy
straight after that, then Hugo re-uploads the full site’s code, including RSS feeds, with direct links to http://localhost:1313...
This, of course, breaks things.
Expected behaviour would be that hugo deploy
would never deploy the localhost
environment variables.
Running my usual hugo && hugo deploy
works as expected, with correct links to my domain.
Is this intended behaviour, a config file mistake, or a very stupid user? (It’s probably the latter)