head: include canonical location in og:url
[minimedit.git] / head.inc.php
index 72cbf36024f721ef6b92fb669094b48ab98ac25e..797f611a0c5cb0a15db2592df9d4e7dfde48abeb 100644 (file)
@@ -13,5 +13,6 @@
 <?php if ($Article->image) { ?>
        <meta property="og:image" content="https://<?= $_SERVER['HTTP_HOST'] . '/' . htmlspecialchars($Article->thumb('640x')) ?>" />
 <?php } ?>
+       <meta property="og:url" content="https://<?= $_SERVER['HTTP_HOST'] . '/' . htmlspecialchars($Article->link) ?>" />
 </head>
 <body>