Add OGP data

This commit is contained in:
Robert Miles 2018-12-22 03:25:34 -05:00
parent ffa861628c
commit a3f93aeb62
3 changed files with 15 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
# JPEGS
*.jpg

View File

@ -6,6 +6,11 @@
<meta name="theme-color" content="#00cc00">
<title>TildeGames</title>
<link rel="stylesheet" type="text/css" href="https://tilde.team/css/hacker.css">
<?php
$title = "TildeGames";
$description = "The home of TildeGames, a tildeverse game studio.";
include "ogp.php";
?>
</head>
<body>
<div class="container">

8
ogp.php Normal file
View File

@ -0,0 +1,8 @@
<?php
$uri = "https://khuxkm.tilde.team".$_SERVER["REQUEST_URI"];
?>
<meta property="og:type" content="website">
<meta property="og:title" content="<?=$title?>">
<meta property="og:description" content="<?=$description?>">
<meta property="og:image" content="https://khuxkm.tilde.team/tildegames/controller.icon.png">
<meta property="og:url" content="<?=$uri?>">