git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
issue/feed: include reply count as thread metadata
[minimedit.git]
/
head.inc.php
diff --git
a/head.inc.php
b/head.inc.php
index 72cbf36024f721ef6b92fb669094b48ab98ac25e..2b29afc41a6e135ba7b45b2540b017cb517264af 100644
(file)
--- a/
head.inc.php
+++ b/
head.inc.php
@@
-13,5
+13,7
@@
<?php if ($Article->image) { ?>
<meta property="og:image" content="https://<?= $_SERVER['HTTP_HOST'] . '/' . htmlspecialchars($Article->thumb('640x')) ?>" />
<?php } ?>
<?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>
</head>
<body>