Skip to content

Commit

Permalink
chore: update UPGRADE.md
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Mar 22, 2022
1 parent 24a23b0 commit 0f518d1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,13 @@ $ hugo mod npm pack
$ npm install
$ hugo
```

Upgrading from v0.65.1
----------------------

## Thumbnails

The page's `images` parameter no longer accepts page resources, that is, the `images` only accepts external images and `/static` images. If you're going to use the page resources as the thumbnails, the steps as follows:

1. Move the thumbnail's page resources from subfolder to page's folder, and then rename it with the patterns: *feature*, *cover* and *thumbnail*. Such as `/posts/my-page/images/my-thumbnail.png` to `/posts/my-page/featured.png`.
1. Remove the `images` parameter.

0 comments on commit 0f518d1

Please sign in to comment.