Repository navigation
|
I'm unable to get cover images to display on my site even after following the directions listed in several similar posts on here. I suspect this has something to do with the directory where I'm putting the images. Here is the code I'm using in the front matter to my site's
I have tried putting the image in static/img/test-image.png, static/test-image.png, and assets/test-image.png. Because I'm hoping to use the same image for several pages, I do not want to put the file in the content directory. I have tried both "true" and "false" for the relative setting. I have tried the above with and without /img at the beginning, with and without quotes around the image path, and with and without .. at the beginning of the path. I believe I've gone through every combination of where I put the image and the possible paths I listed in the frontmatter. None seem to work. Any ideas? |
Replies: 2 comments 3 replies
|
PaperMod shows no cover for the home page ( |
|
The exact content path matters here. If this is Could you share the full path of the Markdown file and, if this is a post, whether opening the image URL directly in the browser succeeds? If it is a post, also check |
PaperMod shows no cover for the home page (
content/_index.md). Put thecoverblock in a post, and keep the file instatic/img/.