mirror of
https://github.com/imfing/hextra.git
synced 2025-07-01 02:27:22 -04:00
Compare commits
2 Commits
main
...
fix-docs-s
Author | SHA1 | Date | |
---|---|---|---|
0959879c73 | |||
b58e941464 |
@ -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
|
||||
|
@ -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
|
||||
```
|
||||
|
@ -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
|
||||
```
|
||||
|
@ -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
|
||||
```
|
||||
|
Reference in New Issue
Block a user