docs: adding a note about preview images and v5.2.0
(#632)
This commit is contained in:
parent
5eb329f36c
commit
20b7fe3a53
1 changed files with 2 additions and 0 deletions
|
@ -248,6 +248,8 @@ Except for `alt`, all other options are necessary, especially the `width` and `h
|
|||
|
||||
Starting from _Chirpy v5.0.0_, the attributes `height` and `width` can be abbreviated: `height` → `h`, `width` → `w`. In addition, the [`img_path`](#image-path) can also be passed to the preview image, that is, when it has been set, the attribute `path` only needs the image file name.
|
||||
|
||||
Starting from _Chirpy v5.2.0_, the property for the preview image is changed to `image.path`. If upgrading the theme from a prior version, you will have to update posts' metadata to use new image property.
|
||||
|
||||
## Pinned Posts
|
||||
|
||||
You can pin one or more posts to the top of the home page, and the fixed posts are sorted in reverse order according to their release date. Enable by:
|
||||
|
|
Loading…
Reference in a new issue