Permalink
Browse files

more fb like

  • Loading branch information...
1 parent 96152fa commit b49a04f7e089c154534ffff0d9e3d99cd45846b6 Benjamin Golub committed Jun 12, 2010
Showing with 3 additions and 3 deletions.
  1. +1 −1 templates/home.html
  2. +2 −2 templates/modules/entry.html
View
@@ -2,6 +2,6 @@
{% block content %}
{% for entry in entries %}
- {{ modules.Entry(entry) }}
+ {{ modules.Entry(entry, show_share=True) }}
{% end %}
{% end %}
@@ -1,8 +1,8 @@
<div class="entry">
<h1><a href="/e/{{ entry.slug }}">{{ escape(entry.title) }}</a></h1>
{% if show_share %}
- <div style="float: right">
- <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>
+ <div style="float: right; height: 18px;">
+ <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>
</div>
{% end %}
<div class="date">

0 comments on commit b49a04f

Please sign in to comment.