Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: d394d409ad
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (31 sloc) 1.253 kb
<div class="entry">
<h1><a href="/{{ entry.slug }}">{{ escape(entry.title) }}</a></h1>
<div class="date">
{{ locale.format_date(entry.published, full_format=True, shorter=True) }}
</div>
{% if show_share %}
<div class="facebook">
<iframe src="http://www.facebook.com/plugins/like.php?href={{ url_escape('http://' + request.host + '/' + entry.slug) }}&amp;layout=button_count" scrolling="no" frameborder="0" allowTransparency="true" ></iframe>
</div>
{% end %}
<div class="body">{{ entry.body }}</div>
{% if entry.tags %}
<div class="tags">
{{ locale.list(['<a href="/t/%(tag)s">%(escaped_tag)s</a>' % {"tag": tag, "escaped_tag": escape(tag)} for tag in sorted(entry.tags)]) }}
</div>
{% end %}
{% if current_user and current_user.administrator %}
<div class="admin">
<a href="/compose?key={{ str(entry.key()) }}">{{ _("Edit") }}</a>
<a href="/delete?key={{ str(entry.key()) }}">{{ _("Delete") }}</a>
<a href="/hide?key={{ str(entry.key()) }}">{{ _("Hide") }}</a>
</div>
{% end %}
{% if not show_comments %}
<div class="comments">
<a href="/{{ entry.slug }}#disqus_thread">Comments</a>
</div>
{% else %}
<div id="disqus_thread"></div>
{% end %}
</div>
Jump to Line
Something went wrong with that request. Please try again.