diff options
author | Nathan Lasseter <nathan@4574.co.uk> | 2013-03-06 14:09:16 +0000 |
---|---|---|
committer | Nathan Lasseter <nathan@4574.co.uk> | 2013-03-06 14:09:16 +0000 |
commit | 8229a7413975534fe9c185749facfb21fe505257 (patch) | |
tree | f6155a8c5594b64cea53bfb4a73f30bcca9af74c /viewpost.php | |
parent | a73b93840a71b39739563f116ca58040c90720b8 (diff) |
Added Twitter Creator Tag
Diffstat (limited to 'viewpost.php')
-rw-r--r-- | viewpost.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/viewpost.php b/viewpost.php index c35a01b..2b73cc9 100644 --- a/viewpost.php +++ b/viewpost.php @@ -17,6 +17,7 @@ <link rel="stylesheet" type="text/css" href="<?php echo $blogRoot; ?>styles.css" /> <meta name="twitter:card" content="summary"> <meta name="twitter:url" content="<?php echo "http://{$_SERVER['SERVER_NAME']}{$blogRoot}".$_GET['post']; ?>"> + <meta name="twitter:creator" content="<?php echo $twitterCreator; ?>"> <meta name="twitter:title" content="<?php echo $getpost; ?>"> <meta name="twitter:description" content="<?php echo preg_replace('/"/', '"', substr($post, 0, 196)) . "..."; ?>"> </head> |