/ Hugo Theme Basic / blog

Post With Featured Image

October 1, 2018

Just define the image URL in the content’s front matter, the featured image will be displayed as the background.

For example:

  - https://picsum.photos/1024/768/?random

This is an array, you can set multiple urls, only the first url will be used. These images is also used in Twitter Cards and the Open Graph metadata.