docs(getting-started): fix instructions for using git submodule

This commit is contained in:
Xin
2025-05-31 16:35:01 +01:00
parent 41140af6fa
commit b58e941464

View File

@ -124,6 +124,15 @@ hugo new site my-site --format=yaml
### Add Hextra theme as a Git submodule
Switch to the site directory and initialize a new Git repository:
```shell
cd my-site
git init
```
Then, add Hextra theme as a Git submodule:
```shell
git submodule add https://github.com/imfing/hextra.git themes/hextra
```