hextra icon indicating copy to clipboard operation
hextra copied to clipboard

Opengraph meta tags in head

Open imfing opened this issue 6 months ago • 0 comments

Discussed in https://github.com/imfing/hextra/discussions/856

Originally posted by cbirkenbeul October 9, 2025 Hi, I recognized that the open graph meta tags could have some improvements. I dont now if its not in the focus for this type of theme or if you "just" did not have the time for that.

I dont customized there anything till now but the meta tags have some line break issues. Here is an example. On my page they looks always the same. And if I look into the blog of this theme also.

    <meta property="og:title" content="Tesla Model 3 nach 5 Jahren: Daten, Erfahrungen & Kosten im Langzeittest">
    <meta property="og:description" content="
        
          5 Jahre Tesla Model 3 im Alltag: Wir zeigen Verbrauch, Kosten, Akku-SoH, Wertverlust & Erfahrungswerte – realitätsnah und transparent.
        
      ">
    <meta property="og:type" content="
        article
      ">
    <meta property="og:url" content="https://teqqy.de/zahlen-daten-fakten-nach-fuenf-jahren-tesla-model-3/">

Additionally some social networks seems to missing the image. Mastodon for example. Bluesky seems to pic up just the first image from the linked url if there is no og:image set. I dont have other social network accounts atm to have a look into that.

Your theme does not have any article images for the blog page. Thats fine, but maybe there is a future improvement to setup an image for the opengraph thingy. I just opened a discussion not an issue, because I dont know if this improvement would fit the idea of your theme. Your work, your rules. :)

Thanks.

imfing avatar Oct 11 '25 22:10 imfing