From 20b7fe3a53c5095824e3addd397119973269bf1d Mon Sep 17 00:00:00 2001 From: Josh Johanning Date: Sat, 2 Jul 2022 05:16:02 -0500 Subject: [PATCH] docs: adding a note about preview images and `v5.2.0` (#632) --- _posts/2019-08-08-write-a-new-post.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_posts/2019-08-08-write-a-new-post.md b/_posts/2019-08-08-write-a-new-post.md index 3e9d141..d40c3eb 100644 --- a/_posts/2019-08-08-write-a-new-post.md +++ b/_posts/2019-08-08-write-a-new-post.md @@ -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: