My problem is this: when I access the base URL for the site given above, I get redirected to the same URL but with a trailing “/en/”. Probably the Theme does this for me since it’s the default language of the site.
While this is usually not a problem, when trying out Netlify’s awesome “Preview Deploys”, I find I can’t use them because the redirect uses the baseURL variable and so a preview deploy here
… this is not coming from any file in my source, this is built by the Hugo engine based only in my preferences (like those settings in config.toml), is this correct?
About the deploys - which I can now use pretty well, at least I didn’t run into any problems yet - it would be nice if Hugo was completely URL-agnostic, if it was able to pick up the URL from some browser hack, instead of needing a variable set.
With the automatic deployments people do these days, this would be a great feature. But I have no idea if it’s too complicated, or even possible.
Thanks a lot for Hugo (I am VERY impressed), thanks a lot for this answer.