Permalink
Browse files

Facebook sharing fix (now points to the post's URL, and not example.com)

  • Loading branch information...
menny authored and detro committed Apr 14, 2011
1 parent 96309e7 commit a82535353c37f8db73c61f0df3d7e2d56a2aa900
Showing with 3 additions and 4 deletions.
  1. +3 −4 themes/squared/post.html
View
@@ -38,14 +38,13 @@ <h1>{{ post.title|escape }}</h1>
<ul>
<li>
<!-- Twitter Tweet Button: http://twitter.com/goodies/tweetbutton -->
- <a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" data-via="detronizator">Tweet</a>
+ <a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" data-via="bloggart">Tweet</a>
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
</li>
<li>
<!-- Facebook Share Button: http://www.facebook.com/share/ -->
- <iframe src="http://www.facebook.com/plugins/like.php?{{ post.path|escape }}&layout=box_count&show_faces=true&width=55&action=like&font=arial&colorscheme=light&height=62"
- scrolling="no" frameborder="0"
- style="border:none; overflow:hidden; width:55px; height:62px;" allowTransparency="true"></iframe>
+ <iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2F{{ config.host|escape }}{{ config.url_prefix|escape }}{{ post.path|escape }}&amp;layout=box_count&amp;show_faces=false&amp;width=100&amp;action=recommend&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:65px;" allowTransparency="true">
+ </iframe>
</li>
<li>
<!-- Google Buzz Button: http://www.google.com/buzz/api/admin/configPostWidget -->

0 comments on commit a825353

Please sign in to comment.