VSCode Task for Hugo.
Run hugo shell command. In VSCode run Command Pallete -> Run tasks -> Build site.
Or press command + shift + b (control + shift + b for Windows and Linux) for select task in Build menu. If you setup Default build task command will be run without showing menu.
Two possibilities:
- Run
hugo servershell command to start like final site. In VSCode runCommand Pallete->Run tasks->Serve site. - Run
hugo server --buildDraftsshell command to start site with draft page. In VSCode runCommand Pallete->Run tasks->Serve draft site.
version - show local version of Hugo.
remote version - show remote version of Hugo.
create content - create content in content/ directory.
create content from archetype - create content in content/ directory from an archetype (https://gohugo.io/content-management/archetypes/)
