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

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

* docs(getting-started): update instructions for adding Hextra theme as a Git submodule
This commit is contained in:
Xin
2025-08-14 00:14:53 +08:00
committed by GitHub
parent 9f70e8a87b
commit 8025de9d9d
4 changed files with 37 additions and 1 deletions

View File

@@ -123,7 +123,16 @@ hugo mod get -u github.com/imfing/hextra
hugo new site my-site --format=yaml
```
### افزودن تم هگزترا به عنوان یک ساب‌ماژول Git
### افزودن تم هگسترا به عنوان یک ساب‌ماژول Git
به دایرکتوری سایت بروید و یک مخزن Git جدید را مقداردهی اولیه کنید:
```shell
cd my-site
git init
```
سپس، تم هگسترا را به عنوان یک ساب‌ماژول Git اضافه کنید:
```shell
git submodule add https://github.com/imfing/hextra.git themes/hextra