docs(getting-started): update instructions for adding Hextra theme as a Git submodule

This commit is contained in:
Xin
2025-05-31 16:44:33 +01:00
parent b58e941464
commit 0959879c73
3 changed files with 28 additions and 1 deletions

View File

@ -124,6 +124,15 @@ hugo new site my-site --format=yaml
### HextraテーマをGitサブモジュールとして追加
サイトディレクトリに移動し、新しいGitリポジトリを初期化します
```shell
cd my-site
git init
```
次に、HextraテーマをGitサブモジュールとして追加します
```shell
git submodule add https://github.com/imfing/hextra.git themes/hextra
```