mirror of
https://github.com/patriciogonzalezvivo/thebookofshaders
synced 2024-11-03 23:15:23 +00:00
tags
This commit is contained in:
parent
735bd1a70b
commit
76e4c441a4
27
edit.php
27
edit.php
@ -17,15 +17,21 @@
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:title" content="GLSL Shader Editor" />
|
||||
<meta property="og:site_name" content="The Book of Shaders"/>
|
||||
<meta property="og:description" content="The Book of Shaders player" />
|
||||
<meta property="og:description" content="The Book of Shaders Editor" />
|
||||
|
||||
<?php
|
||||
if (!empty($_GET['log'])) {
|
||||
echo ' <meta property="og:url" content="https://thebookofshaders.com/edit.php?log='. $_GET['log'].'"/>
|
||||
<meta property="og:image" content="https://thebookofshaders.com/log/'.$_GET['log'].'.png"/>
|
||||
<meta property="og:image:type" content="image/png"/>
|
||||
<meta property="og:image:width" content="500"/>
|
||||
<meta property="og:image:height" content="500"/>';
|
||||
<meta property="og:image" content="https://thebookofshaders.com/log/'.$_GET['log'].'.png"/>';
|
||||
} else {
|
||||
echo ' <meta property="og:url" content="https://thebookofshaders.com/edit.php"/>
|
||||
<meta property="og:image" content="https://thebookofshaders.com/thumb.png"/>';
|
||||
}
|
||||
|
||||
echo'
|
||||
<meta property="og:image:type" content="image/png"/>
|
||||
<meta property="og:image:width" content="500" />
|
||||
<meta property="og:image:height" content="500" />';
|
||||
?>
|
||||
|
||||
<!— Twitter Card—>
|
||||
@ -38,12 +44,17 @@
|
||||
if (!empty($_GET['log'])) {
|
||||
echo '
|
||||
<meta name="twitter:url" content="https://thebookofshaders.com/edit.php?log='. $_GET['log'].'"/>
|
||||
<meta name="twitter:image" content="https://thebookofshaders.com/log/'.$_GET['log'].'.png"/>
|
||||
<meta name="twitter:image" content="https://thebookofshaders.com/log/'.$_GET['log'].'.png"/>';
|
||||
} else {
|
||||
echo '
|
||||
<meta name="twitter:url" content="https://thebookofshaders.com/edit.php"/>
|
||||
<meta name="twitter:image" content="https://thebookofshaders.com/thumb.png"/>';
|
||||
}
|
||||
|
||||
echo '
|
||||
<meta name="twitter:image:width" content="500">
|
||||
<meta name="twitter:image:height" content="500">';
|
||||
}
|
||||
?>
|
||||
|
||||
<style>
|
||||
body {
|
||||
height: 100%;
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 4d5e073bf135692178d7cb62b5cc32dac2dae19f
|
||||
Subproject commit 1eee7577fb95292851813c6d7359fed01134be19
|
@ -1 +1 @@
|
||||
Subproject commit 490a8f35a4163f59230f53c34f1fbb22a864c01e
|
||||
Subproject commit 28774a4359120d2e02e8b6285ed05670c1bc7053
|
Loading…
Reference in New Issue
Block a user