Skip to content

Commit 74a9d4a

Browse files
committed
更新文档
1 parent b97449f commit 74a9d4a

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

docs/en/guide/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This guide is only for partial configuration instructions, **Not for the all con
88

99
:::tip
1010
About the config file in the guide:
11-
- "**blog config**" refer to the `_config.yml` in the blog root directory.
11+
- "**site config**" refer to the `_config.yml` in the blog root directory.
1212
- "**theme config**" refer to the path `theme/fluid/_config.yml`
1313
:::
1414

@@ -110,7 +110,7 @@ Each post page can define its banner independently, you can read the config abou
110110

111111
### Title of Blog
112112

113-
The title is on the left of the banner, Its value can set by the attribute `title` in file **blog config**, which is also the title of the browser's tab.
113+
The title is on the left of the banner, Its value can set by the attribute `title` in file **site config**, which is also the title of the browser's tab.
114114

115115
If you want to set varies titles for different pages, you can change the **theme config** as follows:
116116

@@ -222,7 +222,7 @@ web_analytics:
222222

223223
### Languages
224224

225-
Set a different language in the **blog config** will change the text of the theme:
225+
Set a different language in the **site config** will change the text of the theme:
226226

227227
```yaml
228228
language: en
@@ -332,7 +332,7 @@ index:
332332
keys: ["hitokoto"]
333333
```
334334

335-
If `text` is blank, the `subtitle` in the **blog config** will replace it.
335+
If `text` is blank, the `subtitle` in the **site config** will replace it.
336336

337337
In addition, the content can be obtained through the API interface. If the request fails, it will be displayed in the text field:
338338

@@ -843,7 +843,7 @@ npm uninstall hexo-renderer-marked --save
843843
npm install hexo-renderer-markdown-it --save
844844
npm install @traptitech/markdown-it-katex --save
845845
```
846-
Then append to **blog config**:
846+
Then append to **site config**:
847847
```yaml
848848
markdown:
849849
plugins:

docs/guide/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
- 本指南经过数个版本打磨,绝大部分的功能都有详细说明,请仔细阅读,节约自己和他人的时间;
1111

12-
- 本指南中提到的:"**博客配置**" 指的 Hexo 博客目录下的 `_config.yml`,"**主题配置**" 指的是 `theme/fluid/_config.yml` 或者 `_config.fluid.yml` ,注意区分;
12+
- 本指南中提到的:"**站点配置**" 指的 Hexo 博客目录下的 `_config.yml`,"**主题配置**" 指的是 `theme/fluid/_config.yml` 或者 `_config.fluid.yml` ,注意区分;
1313

1414
- 本指南中提到的 `source` 目录都指的是博客目录下的 `source` 文件夹,不推荐修改主题内 `source` 目录;
1515

@@ -128,7 +128,7 @@ banner_img: https://static.zkqiang.cn/example.jpg
128128

129129
### 博客标题
130130

131-
页面左上角的博客标题,默认使用**博客配置**中的 `title`,这个配置同时控制着网页在浏览器标签中的标题。
131+
页面左上角的博客标题,默认使用**站点配置**中的 `title`,这个配置同时控制着网页在浏览器标签中的标题。
132132

133133
如需单独区别设置,可在**主题配置**中设置:
134134

@@ -281,7 +281,7 @@ LeanCloud 在 localhost 域名下不会增加数据。
281281

282282
不同语言会影响一些主题自带的文字。
283283

284-
设置语言是在**博客配置**中,需要对应 `fluid/languages/` 目录内的配置文件名:
284+
设置语言是在**站点配置**中,需要对应 `fluid/languages/` 目录内的配置文件名:
285285

286286
```yaml
287287
language: zh-CN
@@ -314,7 +314,7 @@ force_https: true
314314

315315
### 二级站点路径
316316

317-
如果你的博客部署在二级路径(如: xxx.com/blog/),需要修改**博客配置**中:
317+
如果你的博客部署在二级路径(如: xxx.com/blog/),需要修改**站点配置**中:
318318

319319
```yaml
320320
url: http://xxx.com/blog
@@ -407,7 +407,7 @@ index:
407407
keys: ["hitokoto"]
408408
```
409409

410-
如果 `text` 为空则按**博客配置**的 `subtitle` 显示。
410+
如果 `text` 为空则按**站点配置**的 `subtitle` 显示。
411411

412412
另外支持通过 API 接口获取内容,如果请求失败则按 text 字段显示:
413413

@@ -941,7 +941,7 @@ npm uninstall hexo-renderer-marked --save
941941
npm install hexo-renderer-markdown-it --save
942942
npm install @traptitech/markdown-it-katex --save
943943
```
944-
然后在**博客配置**中添加:
944+
然后在**站点配置**中添加:
945945
```yaml
946946
markdown:
947947
plugins:

0 commit comments

Comments
 (0)