#og-image not updating

3 messages · Page 1 of 1 (latest)

nova isle
#

Can someone help me understand why this doesn't update my og-image?

This is in layout.tsx

import ogImage from "../../public/og-image.png";
--- <- code fence

<html lang='en'>
  <head>
    <meta charset='UTF-8' />
    <meta name='viewport' content='width=device-width' />
    <link rel='icon' type='image/svg+xml' href='/favicon.png' />
    <meta name='generator' content={Astro.generator} />
    <meta name='description' content={description} />
    <meta
      property='og:title'
      content='Ra Media | Tampa Video Production Agency'
    />
    <meta property='og:type' content='website' />
    <meta property='og:image' content={ogImage} /> **Image!**
    <meta property='og:url' content='https://ramedia.us' />
    <title>{title}</title>
  </head>
  <body>
    <slot />
  </body>
</html>
#

I think it's the right path and file extension

nova isle
#

@reef onyx do you know?