sitemap: fix html syntax of list items
[minimedit.git] / head.inc.php
index 72cbf36024f721ef6b92fb669094b48ab98ac25e..2b29afc41a6e135ba7b45b2540b017cb517264af 100644 (file)
@@ -13,5 +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>