no URL on tags

pull/79/head
Patricio Gonzalez Vivo 8 years ago
parent 7cbdac3280
commit 7009c65cdf

@ -21,11 +21,11 @@
<?php
if (!empty($_GET['log'])) {
echo ' <meta property="og:url" content="https://thebookofshaders.com/edit.php?log='. $_GET['log'].'"/>
echo '
<meta property="og:image" content="http://thebookofshaders.com/log/'.$_GET['log'].'.png"/>
<meta property="og:image:secure_url" content="https://thebookofshaders.com/log/'.$_GET['log'].'.png"/>';
} else {
echo ' <meta property="og:url" content="https://thebookofshaders.com/edit.php"/>
echo '
<meta property="og:image" content="https://thebookofshaders.com/thumb.png"/>';
}
@ -44,11 +44,9 @@
<?php
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"/>';
} else {
echo '
<meta name="twitter:url" content="https://thebookofshaders.com/edit.php"/>
<meta name="twitter:image" content="https://thebookofshaders.com/thumb.png"/>';
}

@ -16,8 +16,8 @@
<meta property="og:title" content="The Book of Shaders"/>
<meta property="og:site_name" content="The Book of Shaders"/>
<meta property="og:description" content="Gentle step-by-step guide through the abstract and complex universe of Fragment Shaders."/>
<meta property="og:url" content="http://thebookofshaders.com"/>
<meta property="og:image" content="http://thebookofshaders.com/thumb.png"/>
<meta property="og:image:secure_url" content="https://thebookofshaders.com/thumb.png"/>
<meta property="og:image:type" content="image/png"/>
<meta property="og:image:width" content="500" />
<meta property="og:image:height" content="500" />
@ -25,13 +25,12 @@
<!— Twitter Card—>
<meta name="twitter:card" content="image">
<!-- <meta name="twitter:card" content="summary"> -->
<meta name="twitter:site" content="@bookofshaders">
<meta name="twitter:creator" content="@patriciogv">
<meta name="twitter:title" content="The Book Of Shaders">
<meta name="twitter:domain" content="thebookofshaders.com">
<meta name="twitter:description" content="Gentle step-by-step guide through the abstract and complex universe of Fragment Shaders.">
<meta name="twitter:image" content="http://thebookofshaders.com/thumb.png">
<meta name="twitter:image" content="https://thebookofshaders.com/thumb.png">
<meta name="twitter:image:width" content="500">
<meta name="twitter:image:height" content="500">

Loading…
Cancel
Save