Hugo

Issues to Deploy Hugo Website from GitHub to Netlify

When I tried to deploy a Hugo website from GitHub to Netlify, I encountered many different errors. Then I figured out that the default Hugo version on Netlify is different from my local Hugo version. A simple solution to this problem is set the Hugo version on Netlify the same as the local version. Type the following command in the command line to check the local Hugo version first: hugo version Add a file “netlify.