Added og:type metadata

This commit is contained in:
Shuqi 2024-11-06 15:32:13 +08:00
parent 3af11fc321
commit 53bcece8a7

View File

@ -48,6 +48,7 @@ $tags = $icon_json[$icon_name . ".svg"];
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta property="og:type" content="website" />
<meta property="og:title" content="<?= $icon_name ?> - Pixel Icons" /> <meta property="og:title" content="<?= $icon_name ?> - Pixel Icons" />
<meta property="og:url" content="https://sqkhor.com/pixel-icons/<?= $icon_name ?>" /> <meta property="og:url" content="https://sqkhor.com/pixel-icons/<?= $icon_name ?>" />
<meta property="og:image" content="https://sqkhor.com/pixel-icons/preview/<?= $icon_name ?>.png?<?= $preview_mtime ?>" /> <meta property="og:image" content="https://sqkhor.com/pixel-icons/preview/<?= $icon_name ?>.png?<?= $preview_mtime ?>" />