diff options
author | Nathan Lasseter <nathan@4574.co.uk> | 2013-01-13 23:40:10 +0000 |
---|---|---|
committer | Nathan Lasseter <nathan@4574.co.uk> | 2013-01-13 23:40:10 +0000 |
commit | c327548a0e318c60a1efc75b6e770154b2b4767f (patch) | |
tree | f43438868a157520107e6a8223394760f8247030 | |
parent | 51f69271cc6038b01c46ab2b0d55ce908aa058bd (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 e47e1af..d642322 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}{$getpost}"; ?>"> + <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> |