theNewDynamic / gohugo-theme-ananke

Ananke: A theme for Hugo Sites
https://gohugo-ananke-theme-demo.netlify.app/
MIT License
1.13k stars 1.15k forks source link

Define HP image dimensions #366

Open stefano-tronci opened 3 years ago

stefano-tronci commented 3 years ago

Hi! I am using this great theme for my website: https://computational-acoustics.gitlab.io/website/

As the title says, I am running into an issue with the SVG featured image for the "Intro to meshio" post. As you go to the home page you will see that the featured image is blank, but it is correctly displayed in the article. I am not sure whether this is a bug, though, as the SVG image I am using seems to have a 0px width and a 0px height. Just though you would be interested in case this is not the expected behavior.

The website code is here: https://gitlab.com/computational-acoustics/website

budparr commented 3 years ago

Changed title from "SVG Featured Image Shown in the Post page but not in the Home Page"

budparr commented 3 years ago

Thanks for reporting. As you point out, I think it's because we're not more explicit with the image dimensions.