# HubSpot Supported Variable not Working

**URL:** <https://community.hubspot.com/t/hubspot-supported-variable-not-working/19069>\
**Category:** Content Strategy & SEO\
**Tags:** content-seo\
**Created:** [February 26, 2020, 8:49pm UTC](https://community.hubspot.com/t/hubspot-supported-variable-not-working/19069 "2020-02-26T20:49:47Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![JHeim](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jheim/32/48165_2.png) [@JHeim](https://community.hubspot.com/u/JHeim)\
**Post date:** [February 26, 2020, 8:49pm UTC](https://community.hubspot.com/t/hubspot-supported-variable-not-working/19069/1 "2020-02-26T20:49:47Z")

</div>

{{ content.featured\_image }} is pulling in no value when testing with [Structured Data Testing Tool](https://search.google.com/structured-data/testing-tool/u/0/)

Anyone know why and if there is a fix? It meets [HubSpot Supported Variables](https://designers.hubspot.com/docs/hubl/hubl-supported-variables).

 ![schema work.PNG](https://d2qpr2jzcazej7.cloudfront.net/original/3X/a/e/ae1e208a7bcd74d20ed601eecf690d480d931aac.png)

---

<div class="post-metadata">

**Author:** ![alyssamwilie](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/alyssamwilie/32/2072_2.png) [@alyssamwilie](https://community.hubspot.com/u/alyssamwilie)\
**Post date:** [February 27, 2020, 6:38am UTC](https://community.hubspot.com/t/hubspot-supported-variable-not-working/19069/2 "2020-02-27T06:38:03Z")

</div>

Hmm, I’ve used that variable in json schema before with no problem. Does the post your testing have a featured image set? If you right click \> Inspect do you see the image URL showing up in your post’s code?

---

<div class="post-metadata">

**Author:** ![mike-ward](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mike-ward/32/26595_2.png) [@mike-ward](https://community.hubspot.com/u/mike-ward)\
**Post date:** [February 27, 2020, 1:54pm UTC](https://community.hubspot.com/t/hubspot-supported-variable-not-working/19069/3 "2020-02-27T13:54:21Z")

</div>

Agreed, should work.

If there is a featured image set, does the listings one work instead?

`{{ content.post_list_summary_featured_image }}`

Don’t know why it would if the other doesn’t, but could be worth a try?

---

<div class="post-metadata">

**Author:** ![JHeim](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jheim/32/48165_2.png) [@JHeim](https://community.hubspot.com/u/JHeim)\
**Post date:** [February 27, 2020, 5:32pm UTC](https://community.hubspot.com/t/hubspot-supported-variable-not-working/19069/4 "2020-02-27T17:32:45Z")

</div>

I tried:

`{{ content.post_list_summary_featured_image }}`

Unfortunately, it retured blank also.

![image null.PNG](https://d2qpr2jzcazej7.cloudfront.net/original/3X/8/9/891ced338c1d5a0bba390fdabf1bd3ceeef16b87.png)

---

<div class="post-metadata">

**Author:** ![JHeim](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jheim/32/48165_2.png) [@JHeim](https://community.hubspot.com/u/JHeim)\
**Post date:** [February 27, 2020, 5:29pm UTC](https://community.hubspot.com/t/hubspot-supported-variable-not-working/19069/5 "2020-02-27T17:29:29Z")

</div>

Yes, a featured image is set in the post.

---

<div class="post-metadata">

**Author:** ![JHeim](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jheim/32/48165_2.png) [@JHeim](https://community.hubspot.com/u/JHeim)\
**Post date:** [February 27, 2020, 5:36pm UTC](https://community.hubspot.com/t/hubspot-supported-variable-not-working/19069/6 "2020-02-27T17:36:28Z")

</div>

When I use:

{{ site\_settings.logo\_src }}

It correctly pulls in our logo URL, but when I use the featured snippet codes’s suggested, it pulls no url value into the code.

---

<div class="post-metadata">

**Author:** ![alyssamwilie](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/alyssamwilie/32/2072_2.png) [@alyssamwilie](https://community.hubspot.com/u/alyssamwilie)\
**Post date:** [February 28, 2020, 3:36am UTC](https://community.hubspot.com/t/hubspot-supported-variable-not-working/19069/7 "2020-02-28T03:36:28Z")

</div>

Would it be possible for you to link us to the page you’re testing?

---

<div class="post-metadata">

**Author:** ![JHeim](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jheim/32/48165_2.png) [@JHeim](https://community.hubspot.com/u/JHeim)\
**Post date:** [February 28, 2020, 3:46pm UTC](https://community.hubspot.com/t/hubspot-supported-variable-not-working/19069/8 "2020-02-28T15:46:32Z")

</div>

> **[Blog](https://atlmedical.com/news-education/blog)**

---

<div class="post-metadata">

**Author:** ![alyssamwilie](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/alyssamwilie/32/2072_2.png) [@alyssamwilie](https://community.hubspot.com/u/alyssamwilie)\
**Post date:** [February 28, 2020, 3:51pm UTC](https://community.hubspot.com/t/hubspot-supported-variable-not-working/19069/9 "2020-02-28T15:51:34Z")

</div>

Okay, so, it looks like you’re using this code on the _listing_ page which is why it’s not working. You can’t set a featured image for a listing page. If you want an image in your schema for the main blog page you would need to add the url yourself. If what you’re actually wanting is schema for your _posts_ you need to put your schema code in the Post Content of your blog code, not the Listing, and then test a singular post page.

---

<div class="post-metadata">

**Author:** ![JHeim](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jheim/32/48165_2.png) [@JHeim](https://community.hubspot.com/u/JHeim)\
**Post date:** [February 28, 2020, 3:55pm UTC](https://community.hubspot.com/t/hubspot-supported-variable-not-working/19069/10 "2020-02-28T15:55:11Z")

</div>

That makes sense. I caught on to that yesterday, but wasn’t sure. I must have misunderstood the page I went to for help.

Thank you!

Is there any sort of schema that I should implement for the listing page?

---

<div class="post-metadata">

**Author:** ![alyssamwilie](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/alyssamwilie/32/2072_2.png) [@alyssamwilie](https://community.hubspot.com/u/alyssamwilie)\
**Post date:** [February 28, 2020, 4:11pm UTC](https://community.hubspot.com/t/hubspot-supported-variable-not-working/19069/11 "2020-02-28T16:11:26Z")

</div>

For a listing page I’d usually go for either just your [organization data](https://jsonld.com/organization/) or a [webpage schema type](https://jsonld-examples.com/schema.org/code/webpage-markup.php).
