head: indicate explicit og:type of website
[minimedit.git] / head.inc.php
index 797f611a0c5cb0a15db2592df9d4e7dfde48abeb..2b29afc41a6e135ba7b45b2540b017cb517264af 100644 (file)
@@ -13,6 +13,7 @@
 <?php if ($Article->image) { ?>
        <meta property="og:image" content="https://<?= $_SERVER['HTTP_HOST'] . '/' . htmlspecialchars($Article->thumb('640x')) ?>" />
 <?php } ?>
+       <meta property="og:type" content="<?= $Article->meta['og:type'] ?? 'website' ?>" />
        <meta property="og:url" content="https://<?= $_SERVER['HTTP_HOST'] . '/' . htmlspecialchars($Article->link) ?>" />
 </head>
 <body>