Update docs

This commit is contained in:
Cotes Chung 2022-01-03 00:00:34 +08:00
parent ee7266ff0d
commit adaefc02e9
2 changed files with 3 additions and 5 deletions

View file

@ -114,7 +114,7 @@ image:
Except for `alt`, all other options are necessary, especially the `width` and `height`, which are related to user experience and web page loading performance. Later section ["Image size"](#image-size) will also mention this. Except for `alt`, all other options are necessary, especially the `width` and `height`, which are related to user experience and web page loading performance. Later section ["Image size"](#image-size) will also mention this.
Starting from _Chirpy v4.4.0_, the attributes `height` and `width` support abbreviations: `height``h`, `width``w`. Starting from _Chirpy v5.0.0_, the attributes `height` and `width` support abbreviations: `height``h`, `width``w`.
### Image caption ### Image caption
@ -136,7 +136,7 @@ In order to prevent the page content layout from shifting when the image is load
``` ```
{: .nolineno} {: .nolineno}
Starting from _Chirpy v4.4.0_, `height` and `width` support abbreviations (`height` → `h`, `width``w`). The following example has the same effect as the above: Starting from _Chirpy v5.0.0_, `height` and `width` support abbreviations (`height` → `h`, `width``w`). The following example has the same effect as the above:
```markdown ```markdown
![Desktop View](/assets/img/sample/mockup.png){: w="700" h="400" } ![Desktop View](/assets/img/sample/mockup.png){: w="700" h="400" }

View file

@ -23,7 +23,7 @@ Download the generated package, unzip and delete the following two from the extr
- `browserconfig.xml` - `browserconfig.xml`
- `site.webmanifest` - `site.webmanifest`
Now, copy the remaining image files (`PNG` and `ICO`) to cover the original files in the folder `assets/img/favicons/` of your Jekyll site. If your Jekyll site doesn't have this directory yet, just create one. And then copy the remaining image files (`PNG` and `ICO`) to cover the original files in the directory `assets/img/favicons/` of your Jekyll site. If your Jekyll site doesn't have this directory yet, just create one.
The following table will help you understand the changes to the favicon files: The following table will help you understand the changes to the favicon files:
@ -31,8 +31,6 @@ The following table will help you understand the changes to the favicon files:
|---------------------|:---------------------------------:|:-----------:| |---------------------|:---------------------------------:|:-----------:|
| `*.PNG` | ✓ | ✗ | | `*.PNG` | ✓ | ✗ |
| `*.ICO` | ✓ | ✗ | | `*.ICO` | ✓ | ✗ |
| `browserconfig.xml` | ✗ | ✓ |
| `site.webmanifest` | ✗ | ✓ |
> Note: ✓ means keep, ✗ means delete. > Note: ✓ means keep, ✗ means delete.