To update all Hugo modules in your project to their latest versions, run the following command:
hugo mod get -u
To update Hextra to the latest released version, run the following command:
hugo mod get -u github.com/imfing/hextra
To preview the site locally, run the following command:
hugo server --buildDrafts --disableFastRender
If you are a Windows user:
- Do not use the Command Prompt
- Do not use Windows PowerShell
- Run these commands from PowerShell or a Linux terminal such as WSL or Git Bash
PowerShell and Windows PowerShell are different applications.