4 <meta charset="utf-8" />
5 <?php if ($Page->title) { ?>
6 <title property="og:name"><?= htmlspecialchars($Page->safetitle) ?></title>
8 <?php if ($Page->teaser) { ?>
9 <meta name="description" property="og:description" content="<?= preg_replace('/\s+/', ' ', strip_tags($Page->teaser)) ?>" />
11 <meta name="viewport" content="width=device-width" />
12 <!--[if lt IE 9]><script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script><![endif]-->
13 <?php if ($Page->image) { ?>
14 <meta property="og:image" content="https://<?= $_SERVER['HTTP_HOST'] . '/' . htmlspecialchars($Page->thumb('640x')) ?>" />
16 <meta property="og:type" content="<?= $Page->meta['og:type'] ?? 'website' ?>" />
17 <meta property="og:url" content="https://<?= $_SERVER['HTTP_HOST'] . '/' . htmlspecialchars($Page->link) ?>" />
18 <?php if (isset($Page->head)) print $Page->head; ?>