Git Product home page Git Product logo

Comments (4)

ganevdev avatar ganevdev commented on June 15, 2024

Hi! Thanks for the feedback 😊.

On your site, in meta information, banner.png is written like this:

<meta data-react-helmet="true" name="image" content="https://bkleeman.surge.sh/banner.png">

As I understand it, you also host your site on surge.sh, I suppose you have not changed the site address (siteUrl) in the gatsby-config.js file to https://bkleeman.github.io/.

from gatsby-theme-chronoblog.

bkleeman avatar bkleeman commented on June 15, 2024

That is super helpful, thank you for the info and the quick reply! You are right, looks like I forgot to change that when I pushed my site to production. I have updated my siteUrl now to point to the correct address.

Unfortunately though this doesn't seem to have fixed the issue. Or at least not yet? My GitHub Pages repo has the right siteUrl in the JSON file that the meta data is mapped out to and the head of the live site has indeed updated to show <meta data-react-helmet="true" property="og:image" content="https://bkleeman.github.io/banner.png">.

image

image

Any recommendations for further troubleshooting?

from gatsby-theme-chronoblog.

ganevdev avatar ganevdev commented on June 15, 2024

If the meta tags have the correct image, then everything is okay (maybe a third-party site somehow cached the old data?).

You can check on the twitter validator: https://cards-dev.twitter.com/validator

from gatsby-theme-chronoblog.

bkleeman avatar bkleeman commented on June 15, 2024

Thank you for suggestion using a card validator! I tested the URL and it showed the correct image. I have it showing the right card when I try to link to my site now. I think you're right, the site I was posting to may have just been holding onto an old version in the cache. Thanks for helping me step through it! Closing the issue.

from gatsby-theme-chronoblog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.