If an image is not provided in the YAML, then the listing of a blog post is supposed to use:
The image for this item, read from the image
field of the front matter, or automatically discovered by taking the first of an image of class preview-image
, an image with a file name starting with feature
, cover
, or thumbnail
, or the first image to appear in the document.
I'm trying to go for the last option - first image to appear in the document, but it's not working. Reproducible example:
Repository: GitHub - riinuots/quarto_blog
or
RStudio Cloud project: RStudio Cloud
The only thing I've changed from the Create new Project - Quarto Blog - are these lines:
What the website looks like:
Whereas I'm expecting the thumbnail for "Post With Code" to be this plot:
Any ideas? Thanks very much in advance. I'm thoroughly enjoying getting to know Quarto. So sleek!