Instructions to install the HB start theme.
Become a backer or sponsor to support our work.
Read more on prerequisites.
1git clone --depth 1 https://github.com/hbstack/theme-start
1cp -r theme-start/exampleSite ./start-page
1cd start-page
1rm go.mod go.sum config/_default/module.yaml
2hugo mod init [MODULE_PATH]
The [MODULE_PATH]
is the identifier of your site, which usually the repository URL, i.e. example.com/user/repo
.
config/_default/module.toml
1[[imports]]
2 path = 'github.com/hbstack/theme-start'
3[[imports]]
4 path = 'github.com/hbstack/theme-start/engines/google'
5[[imports]]
6 path = 'github.com/hbstack/theme-start/engines/bing'
config/_default/module.yaml
1imports:
2- path: github.com/hbstack/theme-start
3- path: github.com/hbstack/theme-start/engines/google
4- path: github.com/hbstack/theme-start/engines/bing
config/_default/module.json
1{
2 "imports": [
3 {
4 "path": "github.com/hbstack/theme-start"
5 },
6 {
7 "path": "github.com/hbstack/theme-start/engines/google"
8 },
9 {
10 "path": "github.com/hbstack/theme-start/engines/bing"
11 }
12 ]
13}
1npm ci
1hugo server
Please restart the Hugo server if the first run fails.