Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

more fb like

  • Loading branch information...
commit b49a04f7e089c154534ffff0d9e3d99cd45846b6 1 parent 96152fa
authored June 12, 2010
2  templates/home.html
@@ -2,6 +2,6 @@
2 2
 
3 3
 {% block content %}
4 4
   {% for entry in entries %}
5  
-    {{ modules.Entry(entry) }}
  5
+    {{ modules.Entry(entry, show_share=True) }}
6 6
   {% end %}
7 7
 {% end %}
4  templates/modules/entry.html
... ...
@@ -1,8 +1,8 @@
1 1
 <div class="entry">
2 2
   <h1><a href="/e/{{ entry.slug }}">{{ escape(entry.title) }}</a></h1>
3 3
   {% if show_share %}
4  
-    <div style="float: right">
5  
-      <iframe src="http://www.facebook.com/plugins/like.php?href={{ url_escape(request.full_url()) }}" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; float:right;"></iframe>
  4
+    <div style="float: right; height: 18px;">
  5
+      <iframe src="http://www.facebook.com/plugins/like.php?href={{ url_escape('http://' + request.host + '/e/' + entry.slug) }}&amp;show_faces=false" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; float:right;"></iframe>
6 6
     </div>
7 7
   {% end %}
8 8
   <div class="date">

0 notes on commit b49a04f

Please sign in to comment.
Something went wrong with that request. Please try again.