theNewDynamic / gohugo-theme-ananke

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

Hero image not showing after update #622

Closed mile95 closed 1 year ago

mile95 commented 1 year ago

Hi.

We updated from c7b990 to 5a8b531 a while back and realized that the hero image on the start page was no longer showing. If I run with c7b990 the hero image is showing correctly.

I've tried updating to the latest release 470ea40 and on master a1a99cf but with the same issue.

Here is our blog: https://github.com/DeviesDevelopment/blog

All featured images work fine on posts but the featured image is not set correctly on the start page.

We define the featured_image in config.toml under [params] but themes/ananke/layouts/partials/func/GetFeaturedImage.html still returns an empty string resulting in no hero.

Appreciate the help.

mile95 commented 1 year ago

The #624 PR solves our issue but I'm not sure if it creates problem for others.

Have we configured our blog incorrectly?

mile95 commented 1 year ago

Nvm! I solved it by adding _index.md