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

@ -120,7 +120,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