diff options
author | Nathan Lasseter <nathan@4574.co.uk> | 2012-12-12 22:03:38 +0000 |
---|---|---|
committer | Nathan Lasseter <nathan@4574.co.uk> | 2012-12-12 22:03:38 +0000 |
commit | eff0f650143e2a819ff693a181b25e875c058c9f (patch) | |
tree | a66d94cd629d6d861c941339dd9778fb274c1aba /viewpost.php | |
parent | d1d90fe7532e615912e4bce9c623a9d74e215cd5 (diff) |
Twitter does include data-url apparently...
Diffstat (limited to 'viewpost.php')
-rw-r--r-- | viewpost.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/viewpost.php b/viewpost.php index 0804551..43ad807 100644 --- a/viewpost.php +++ b/viewpost.php @@ -10,7 +10,7 @@ echo "<div>\n"; echo "<a class=\"title\" href=\"{$blogRoot}post/" . urlencode($file) . "\">$file <span id=\"perma\">[Permalink]</span></a> "; ?> -<a href="https://twitter.com/share" class="twitter-share-button" data-text="<?php echo "$blogTitle: {$_GET['post']} {$_SERVER['SERVER_NAME']}{$_SERVER['REQUEST_URI']}"; ?>">[Tweet]</a> +<a href="https://twitter.com/share" class="twitter-share-button" data-text="<?php echo "$blogTitle: {$_GET['post']}"; ?>">[Tweet]</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> <?php |