Setup Github Pages with Hugo static site generator and Visual Studio Code Create special GitHub repo for GitHub-Pages and clone it in VSC workspace Go to repo folder on local machine and create Hugo site. Use –force since the .git files are already there hugo new site . --force add theme Ananke git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke.git themes/ananke echo theme = \"ananke\" >> config.toml change publication directory to “docs” to align with settings in GitHub pages echo publishDir = \"docs\" >> config.
Hello World!