Make links relative and begin work on wiki-specific OGP stuff
This commit is contained in:
parent
01a6d24f80
commit
183d010371
|
@ -21,6 +21,11 @@ if (!isset($_GET["page"]) || !file_exists("pages/{$_GET['page']}.md")) {
|
|||
include __DIR__.'/../header.php';
|
||||
// render wiki index ?>
|
||||
|
||||
<meta property='og:title' content='<?=$title?>'>
|
||||
<meta property='og:type' content='website'>
|
||||
<meta property='og:image' content='https://git.tilde.team/avatars/26f6db9866154eafaa167a9471c313ea'>
|
||||
<meta property='og:url' content='https://tilde.team/<?=$_SERVER['REQUEST_URI']?>'>
|
||||
|
||||
<h1>tilde.team wiki</h1>
|
||||
|
||||
<p>welcome to the tilde.team wiki!</p>
|
||||
|
@ -45,6 +50,12 @@ if (!isset($_GET["page"]) || !file_exists("pages/{$_GET['page']}.md")) {
|
|||
// show a single page ?>
|
||||
|
||||
<a href=".">< ~wiki</a>
|
||||
|
||||
<meta property='og:title' content='<?=$title?>'>
|
||||
<meta property='og:type' content='website'>
|
||||
<meta property='og:image' content='https://git.tilde.team/avatars/26f6db9866154eafaa167a9471c313ea'>
|
||||
<meta property='og:url' content='https://tilde.team<?=$_SERVER['REQUEST_URI']?>'>
|
||||
|
||||
<hr>
|
||||
<?=$pg->getContent()?>
|
||||
<hr>
|
||||
|
|
Loading…
Reference in New Issue