-
Notifications
You must be signed in to change notification settings - Fork 2
/
meta.php
22 lines (22 loc) · 971 Bytes
/
meta.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
function metadata($title){
echo "
<meta property='og:title' content='Engineer.tf - $title' />
<meta property='og:url' content='http://engineer.tf/' />
<meta property='og:image' content='http://engineer.tf/assets/engineer-avatar-simple.png' />
<meta property='og:description' content='$title for Engie Mains' />
<meta name='theme-color' content='#004fa0' />
<meta name='twitter:card' content='http://engineer.tf/assets/engineer-avatar-simple.png'>
";
}
function metadata_post($title, $desc){
echo "
<meta property='og:title' content='Engineer.tf - $title' />
<meta property='og:url' content='http://engineer.tf/' />
<meta property='og:image' content='http://engineer.tf/assets/engineer-avatar-simple.png' />
<meta property='og:description' content='$desc' />
<meta name='theme-color' content='#004fa0' />
<meta name='twitter:card' content='http://engineer.tf/assets/engineer-avatar-simple.png'>
";
}
?>