How to make image link for my website like this https://website.com/image.png in gatsby.config?
问题 I want to add image url in meta tag for SEO. But how can I create image link to add in meta tag? I am using gatsby. I have src/img/img1.png image and now I want to create image URLs like this https://website.com/src/img/img1.png How can I do it in gatsby-config.js file? 回答1: Most of Gatsby starters comes with a SEO component, that saves you to build one from scratch. Internally, it uses <Helmet> , a component that puts everything that is wrapped inside, in the <header> tag. So, given: import