gohugo-theme-ananke icon indicating copy to clipboard operation
gohugo-theme-ananke copied to clipboard

Define HP image dimensions

Open stefano-tronci opened this issue 4 years ago • 2 comments

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

stefano-tronci avatar Nov 14 '20 16:11 stefano-tronci

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

budparr avatar Dec 11 '20 18:12 budparr

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

budparr avatar Dec 11 '20 18:12 budparr