/themes/default/templates/post_item.html
http://n23.googlecode.com/ · HTML · 23 lines · 23 code · 0 blank · 0 comment · 0 complexity · 3f95f1351b4f960d2323c1ece72b0aa0 MD5 · raw file
- <div class="post" id="p{{ post.key.id }}">
- <h2 class="title"><a href="/blog/post/{{ post.key.id }}" title="{{ post.title|escape }}">{{ post.title|escape }}</a></h2>
- {% if post.tags %}
- <div class="tags">
- Tags:
- {% for tag in post.tags %}
- <a href="/blog/tag/{{ tag }}" title="tag: {{ tag }}">{{ tag }}</a>{% if not forloop.last %}, {% endif %}
- {% endfor %}
- </div>
- {% endif %}
- {% comment %}<div>{{ post.content|escape|urlize|linebreaksbr}}</div>{% endcomment %}
- {% comment %}<div>{{ post.content|wiki}}</div> {% endcomment %}
- <div class="entry">{{ post.content }}</div>
- <p class="meta">
- <span><a href="/blog/post/{{ post.key.id }}#comments" title="comment"> {{ post.comment_count }} </a></span>
- {% if self.is_admin %}
- <span class="fakelink" onclick="DeletePost('{{ post.key.id }}')">Delete</span>
- <span class="fakelink" onclick="EditPost('{{ post.key.id }}')">Edit</span>
- {% endif %}
- <span class="date"> {{ post.date|timezone:8|date:"Y-m-d H:i:s" }}</span>
- <span class="author">by {{ post.author }}</span>
- </p>
- </div>