# Featured image not working with Ananke theme

**URL:** <https://discourse.gohugo.io/t/featured-image-not-working-with-ananke-theme/40405>\
**Category:** Using Themes\
**Created:** [September 6, 2022, 8:52pm UTC](https://discourse.gohugo.io/t/featured-image-not-working-with-ananke-theme/40405 "2022-09-06T20:52:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidb](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/davidb/32/16297_2.png) [@davidb](https://discourse.gohugo.io/u/davidb)\
**Post date:** [September 6, 2022, 8:52pm UTC](https://discourse.gohugo.io/t/featured-image-not-working-with-ananke-theme/40405/1 "2022-09-06T20:52:26Z")

</div>

Hello,  
I am seeing my featured\_image not working on my (index) home page. Now I am wondering if this is somehow related to the issue discussed here.

The featured image is NOT working here:

> **[Blog](https://www.davidbeck.online/)**
>
> A simple Website for random stuff.

or here: [About | Blog](https://www.davidbeck.online/about/)

But it is working on the posts level:

> **[Show Your Stripes](https://www.davidbeck.online/posts/2021-10-01_show-your-stripes/)**
>
> The recent weather extremes in Germany and other parts of the world reminded a lot a of people about climate change. I think that the #ShowYourStripes
> Link to ShowYourStripes
> is a beautiful but scary reminder of what is going on. #showyourstripes

Not sure why this is. It seems to be related to my hugo update.

Here is the repo:

> **[GitHub - davidbeckonline/davidbeckonline-site: A git repository for my Hugo...](https://github.com/davidbeckonline/davidbeckonline-site)**
>
> A git repository for my Hugo Blog on AWS Amplify. Contribute to davidbeckonline/davidbeckonline-site development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![jmooring](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jmooring/32/4214_2.png) [@jmooring](https://discourse.gohugo.io/u/jmooring)\
**Post date:** [September 6, 2022, 10:00pm UTC](https://discourse.gohugo.io/t/featured-image-not-working-with-ananke-theme/40405/2 "2022-09-06T22:00:10Z")

</div>

Take a look in `themes/ananke/exampleSite`, specifically `themes/ananke/exampleSite/content/en/_index.md`.

It uses the `cascade` feature to set `featured_image` for all pages. This adds the value where missing, but does not override existing values.

#### To set a unique featured image on the home page (no cascading):

```bash
hugo new _index.md

```

Then set featured\_image in front matter.

#### To set a unique featured image on the post list page (no cascading):

```bash
hugo new post/_index.md

```

Then set featured\_image in front matter.

---

<div class="post-metadata">

**Author:** ![davidb](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/davidb/32/16297_2.png) [@davidb](https://discourse.gohugo.io/u/davidb)\
**Post date:** [September 7, 2022, 8:12pm UTC](https://discourse.gohugo.io/t/featured-image-not-working-with-ananke-theme/40405/3 "2022-09-07T20:12:09Z")

</div>

Very helpful. Thank you very much.  
Works!

---

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/system/32/1_2.png) [@system](https://discourse.gohugo.io/u/system)\
**Post date:** [September 9, 2022, 8:12pm UTC](https://discourse.gohugo.io/t/featured-image-not-working-with-ananke-theme/40405/4 "2022-09-09T20:12:17Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
