diff options
author | Nathan Lasseter <nathan@4574.co.uk> | 2013-01-13 23:40:53 +0000 |
---|---|---|
committer | Nathan Lasseter <nathan@4574.co.uk> | 2013-01-13 23:40:53 +0000 |
commit | de17420a3bc560202bdd7d27d5ff3448adfd57d8 (patch) | |
tree | a04a4ae22a1c037c0294e5a944a4684f0037539d | |
parent | c327548a0e318c60a1efc75b6e770154b2b4767f (diff) |
Fix for multiword title in twitter:url
-rw-r--r-- | viewpost.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/viewpost.php b/viewpost.php index d642322..865b597 100644 --- a/viewpost.php +++ b/viewpost.php @@ -16,7 +16,7 @@ <title><?php echo $blogTitle; ?></title> <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:url" content="<?php echo "http://{$_SERVER['SERVER_NAME']}{$blogRoot}".$_GET['post']; ?>"> <meta name="twitter:title" content="<?php echo $getpost; ?>"> <meta name="twitter:description" content="<?php echo substr($post, 0, 196) . "..."; ?>"> </head> |