1. Yury Yurevich
  2. byteflow-pyo

Source

byteflow-pyo / themes / simpyo / blog / post_entry.html

{% spaceless %}
{% load i18n %}
{% load pytils_dt %}
{% load pytils_numeral %}
{% load bookmarks %}
{% load tagging_tags %}
{% load bfmarkup %}
{% endspaceless %}

<script>
putFFUrl('http://pyobject.ru{{ object.get_absolute_url }}', '{{ settings.FRIENDFEED_USER }}', '#ff-comment-link-{{ object.id }}');
</script>

<div id="post-{{ object.id }}" class="post">
        <h2><a href="{{ object.get_absolute_url }}">{{ object.name|typogrify }}</a></h2>
    <div class="metadata">
        {{ object.date|datelinks }} {{ object.date|time }}
        {% tags_for_object object as tags %}{% render_tag_string tags %}
       <span class="ff-comment-link" id="ff-comment-link-{{ object.id }}">
       | <a href="#">Комментарии на FriendFeed</a>
       </span>
    </div>
    <div class="text">
    {% if not post_detail and object.shortable %}
    {{ object.html_short|safe }}
    <span class="read-more"><a href="{{ object.get_absolute_url }}">{% trans "continue&nbsp;reading" %}</a></span>
    {% else %}
      {{ object.html|safe }}
    {% endif %}
    </div>
</div>