Skip to content

Commit 81b02cf

Browse files
phantom0174zkqiang
authored andcommitted
修复英文语法和翻译错误
1 parent ad472b7 commit 81b02cf

File tree

4 files changed

+32
-28
lines changed

4 files changed

+32
-28
lines changed

docs/en/advance/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ All plugins are only recommended and can’t be sure they are fully compatible w
2424

2525
### Faster Loading
2626

27-
1. For all the users, it is the effective way to use public CDN for the third-party lib, you can add it into `static_prefix` in **theme config**
27+
1. For all the users, it is effective to use public CDN for the third-party lib, you can add it into `static_prefix` in **theme config**
2828

2929
2. You can use OSS and bind your domain, then upload the files in the folder `public` to your OSS.
3030

docs/en/guide/README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ About the config file in the guide:
1919
:::tip
2020
Override configuration can avoid losing your customized configuration when updating Fluid.
2121

22-
Users who install Fluid via Npm can ignore it, other users are recommended to learn to use it.
22+
Users who installed Fluid via Npm can ignore it, other users are recommended to learn to use it.
2323
:::
2424

2525
If your Hexo version >= 5.0.0, create `_config.fluid.yml` in the blog directory and copy the content of [_config.yml](https://github.com/fluid-dev/hexo-theme-fluid/blob/master/_config.yml)
2626

2727
Notice:
2828
- The configuration existing in `_config.fluid.yml` is of high priority, modifying `_config.yml` is useless.
29-
- There may be configuration changes in the theme of upgrading, you need to manually modify `_config.fluid.yml` synchronously.
29+
- There may be configuration changes in the upgraded theme, you need to manually modify `_config.fluid.yml` synchronously.
3030
- You can use `hexo g -- debug` to check override configuration.
3131
- If you want to cancel some configurations, you should do this:
3232

@@ -64,53 +64,53 @@ static_prefix:
6464
6565
### Local Search
6666
67-
- The hexo-generator-search plug-in has been integrated, please close if you have installed other search plug-ins to avoid generating redundant index files.
67+
- The hexo-generator-search plug-in has been integrated, please disable it if you had installed other search plug-ins to avoid generating redundant index files.
6868
69-
- By default, `local-search.xml` is generated and used in the root directory.
69+
- By default, `local-search.xml` is generated in the root directory and being used.
7070

7171
### Banner Image
7272

73-
- img src
73+
- image source
7474

75-
there is `banner_img` item for every pages in the **theme config**, you can use a relative path or url.
75+
There is `banner_img` property for every pages in the **theme config**, it can be assigned a relative path or url.
7676

77-
use a local image
77+
To use a local image:
7878

7979
```yaml
8080
banner_img: /img/bg/example.jpg # stored at /source/img/bg/example.jpg
8181
```
8282

83-
use a url:
83+
To use a url:
8484

8585
```yaml
8686
banner_img: https://static.zkqiang.cn/example.jpg
8787
```
8888

8989
::: tip
90-
You can define the ain path yourself, but it should be in the `source` directory
90+
You can define the path yourself, but it should be in the `source` directory
9191

9292
The source directory of blog and fluid will be merged eventually, so the source of blog is preferred.
9393
:::
9494

9595
- height
9696

97-
For different people's thoughts, you can control the height of the `banner_img` on the page.
97+
For different people's preferences, you can control the height of the `banner_img` on the page.
9898

99-
You can set a value to `banner_img_height` for every pages in **theme config**, 0 - 100 is valuable, We think it is better to choose a number bigger than 70.
99+
You can set `banner_img_height` for every pages in **theme config** with a valid range of 0 - 100. We think it is better to choose a number bigger than 70.
100100

101101
- alpha of mask
102102

103-
You can set a value `banner_mask_alpha` for every pages in **theme config**, 0 - 1.0 is valuable, 0 is completely transparent (no mask), 1 is completely opaque
103+
You can set `banner_mask_alpha` for every pages in **theme config** with a valid range of 0 - 1.0. 0 is completely transparent (no mask) while 1 is completely opaque.
104104

105105
::: tip
106-
Each post page can define its banner independently, you can read the config about the posts for more details.
106+
The banner of each post page can be set independently. You can read the config about the posts for more details.
107107
:::
108108

109109
<InArticleAdsense :data-ad-client=$themeConfig.ads.client :data-ad-slot=$themeConfig.ads.inSlot is-new-ads-code="yes"></InArticleAdsense>
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 **site config**, which is also the title of the browser's tab.
113+
The title is on the left side of the banner. It can be set by modifying the property `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

docs/en/icon/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
## Build-in Icons
66

7-
There are some built-in social icons in the theme, all from [iconcont](https://www.iconcont.cn/):
7+
There are some built-in social icons in the theme, all from [Iconfont](https://www.iconfont.cn/):
88

99
![icons](../../.vuepress/public/iconfont.png)
1010

1111
Just fill the beginning with 'icon-' into CSS class, eg: `iconfont icon-twitter-fill`.
1212

13-
The icons are mainly used in related pages, of course, you can also use any place by HTML.
13+
The icons are mainly used in related pages, of course, you can also use them in any place by HTML.
1414

1515
<InArticleAdsense :data-ad-client=$themeConfig.ads.client :data-ad-slot=$themeConfig.ads.inSlot is-new-ads-code="yes"></InArticleAdsense>
1616

docs/en/start/README.md

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,21 @@ Preview: [Fluid's blog](https://hexo.fluid-dev.com/) [zkqiang's blog](https:/
1414

1515
### Install Hexo
1616

17-
If you don't have a hexo blog, please follow [Hexo Docs](https://hexo.io/docs/) to install and initialize your blog
17+
If you don't have a hexo blog, please follow [Hexo Docs](https://hexo.io/docs/) to install and initialize your blog.
1818

19-
#### Download Fluid
19+
### Download Fluid
2020

21-
#### Way A
21+
#### Method A
2222

23-
If your Hexo version >= 5.0.0, you can be installed via Npm:
23+
Installing directly via Npm is recommended for Hexo version 5.0.0 and above. Run the following command in the blog directory:
2424

2525
```sh
2626
npm install --save hexo-theme-fluid
2727
```
2828

2929
Then create `_config.fluid.yml` in the blog directory and copy the content of [_config.yml](https://github.com/fluid-dev/hexo-theme-fluid/blob/master/_config.yml)
3030

31-
#### Way B
31+
#### Method B
3232

3333
Download the [latest release](https://github.com/fluid-dev/hexo-theme-fluid/releases), then extract it to `themes` directory and renamed to `fluid`.
3434

@@ -61,27 +61,31 @@ layout: about
6161
You can write the content here, support Markdown, HTML
6262
```
6363

64+
:::warning
65+
`layout: about` must exists and can not be modified as other values, otherwise avatar and other styles will not be shown.
66+
:::
67+
6468
## Theme Upgrade
6569

66-
#### Way A
70+
#### Method A
6771

68-
> Applicable to installed theme via Npm.
72+
> Applicable for Npm-installed theme.
6973
70-
Execute the command in your blog directory
74+
Execute the command in your blog directory:
7175

7276
```bash
7377
npm update --save hexo-theme-fluid
7478
```
7579

76-
#### Way B
80+
#### Method B
7781

78-
> Applicable to installed theme via release and all codes have not been modified.
82+
> Applicable for installed theme via release and all codes have not been modified.
7983
8084
1. Backup your config files. We recommend you to use [override configuration](/en/guide/#override-configuration).
8185

8286
2. Download the [latest release](https://github.com/fluid-dev/hexo-theme-fluid/releases), then replace the fluid directory.
8387

84-
#### Way C
88+
#### Method C
8589

8690
> Applicable to cases where some codes have been modified, or you want to pull the master branch.
8791

0 commit comments

Comments
 (0)