Add Open Graph protocol support
This commit is contained in:
parent
fabe40da8c
commit
b371b6e201
2 changed files with 41 additions and 22 deletions
24
root.php
24
root.php
|
@ -1,20 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="">
|
||||
<html lang="en">
|
||||
<head>
|
||||
<link rel="stylesheet" href="/assets/common.css" />
|
||||
<link rel="stylesheet" href="/assets/root.css" />
|
||||
<link rel="stylesheet" href="/assets/common.css"/>
|
||||
<link rel="stylesheet" href="/assets/root.css"/>
|
||||
<title>Splatunes Network Preview</title>
|
||||
<meta name="viewport" content="initial-scale=0.75 user-scalable=no" />
|
||||
<meta name="viewport" content="initial-scale=0.75 user-scalable=no"/>
|
||||
|
||||
<meta property="og:title" content="Home"/>
|
||||
<meta property="og:site_name" content="Splatunes Network"/>
|
||||
<meta property="og:description" content="Splatunes Network</a> Preview, exists because it wants to. ©"/>
|
||||
</head>
|
||||
<body>
|
||||
<?php
|
||||
foreach(glob('[!assets]*', GLOB_ONLYDIR) as $dir) {
|
||||
echo '<a class="card" href="'. $dir .'">
|
||||
<img src="/'. $dir .'/artwork.jpg" alt="" />
|
||||
<div class="content">'. $dir .'</div>
|
||||
foreach (glob('[!assets]*', GLOB_ONLYDIR) as $dir) {
|
||||
echo '<a class="card" href="' . $dir . '">
|
||||
<img src="/' . $dir . '/artwork.jpg" alt="" />
|
||||
<div class="content">' . $dir . '</div>
|
||||
</a>';
|
||||
}
|
||||
?>
|
||||
<div class="footer"><a href="https://git.mctaylors.ru/mctaylors/SplatunesNetwork">Splatunes Network</a> Preview, exists because it wants to. ©</div>
|
||||
<div class="footer"><a href="https://git.mctaylors.ru/mctaylors/SplatunesNetwork">Splatunes Network</a> Preview, exists
|
||||
because it wants to. ©
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue