agdj/core/templates/blog/render_post_summary.html
author Adam Gomaa <code@adam.gomaa.us>
Sun Feb 01 01:35:02 2009 -0500
changeset 416 5a586a8c2f8f
parent 387 0c81a7844279
permissions -rw-r--r--
Switch to date-based URLs everywhere except the feed URLs of old posts, so I don't spam everyone's feedreader.
code@387
     1
{% load cache humanize microformats mkdn2 %}
code@387
     2
code@137
     3
<div class="post-summary">
code@416
     4
  <h3><a href="{{ object.urls.view }}">{{ object.title }}</a></h3>
code@129
     5
{% with object.public_comments as comments %}
code@387
     6
  <p>Posted <span class="humanize iso8601">{{ object.pub_date|iso8601 }}</span> - {% if comments %}
code@89
     7
{{ comments|length|apnumber|capfirst }} comment{{ comments|pluralize }}
code@50
     8
{% else %}No comments{% endif %}
code@387
     9
    
code@50
    10
  </p>
code@89
    11
{% endwith %}
code@142
    12
<div class="tag-container">tagged with 
code@134
    13
{% include "blog/render_post_tags_list.html" %}
code@50
    14
</div>
code@147
    15
<div class="description">{{ object.description|markdown2 }}</div>
code@142
    16
</div>