theNewDynamic / gohugo-theme-ananke

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

Featured Image Fails to Display #549

Closed stefano-tronci closed 2 years ago

stefano-tronci commented 2 years ago

Hi! I have been searching online as well as through these issues but I found no solution yet.

Basically, I have a little blog using this theme: https://gitlab.com/stefano-tronci/website It is deployed here: https://stefano-tronci.gitlab.io/website/

As you can see, the home page does not display the featured image. This is puzzling, because the post displays it correctly. What is more puzzling is that I have a very similar website that works properly:

The two websites are pretty much a copy of each other.

Any idea why the featured image doesn't seem to work on the first website?

budparr commented 2 years ago

Hi @stefano-tronci Have a look at the example site. It looks like you don't have a _index... in your repo. Here's an example https://github.com/theNewDynamic/gohugo-theme-ananke/blob/master/exampleSite/content/en/_index.md

regisphilibert commented 2 years ago

Hi @stefano-tronci did this solve your problem?

stefano-tronci commented 2 years ago

Hey there, thank you for your suggestion! Unfortunately I haven't got a chance to test it. I think I will test it tonight (UK time).

On Fri, 6 May 2022, 14:40 Regis Philibert, @.***> wrote:

Hi @stefano-tronci https://github.com/stefano-tronci did this solve your problem?

— Reply to this email directly, view it on GitHub https://github.com/theNewDynamic/gohugo-theme-ananke/issues/549#issuecomment-1119635737, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD7YFX3SPPYG3LL2YBBIVFDVIUOONANCNFSM5U4PCCEA . You are receiving this because you were mentioned.Message ID: @.***>

stefano-tronci commented 2 years ago

Yep! That was it. Adding the _index.md fixed it. Thank you for your help!