Create a Site
• 2 min read
Prerequisites #
SeoTax requires Hugo 0.159.0 or later. Check your installed version first.
SeoTax also requires native Dart Sass with embedded protocol support on your
PATH; Hugo does not install it automatically. Set it up before starting the server (see the
requirements guide).
bash
hugo version
sass --embedded --versionInstall as a Git Submodule #
bash
hugo new site myblog
cd myblog
git init
git submodule add https://github.com/minyeamer/hugo-seotax themes/seotaxSet theme: "seotax", then run hugo server --minify.
Install as a Hugo Module #
toml
[module]
[[module.imports]]
path = "github.com/minyeamer/hugo-seotax"Run hugo mod get -u, then start the local server.
Start from the Example Site #
bash
cp -R themes/seotax/exampleSite/* .
hugo server --minify