{% extends "blog/index.html" %} {% load extra %} {% load comments %} {% block title %}{{ object.title|escape }}{% endblock %} {% block content %}
<div style="width:600px;; border-right:1px solid #666666;padding-right: 20px;float:left;"> <h2>{{ object.title }}</h2> {% if object.lead_image %}<img align="right" style="padding:0 10px 10px 10px;" class="thumbnail" src="http://joshuajonah.com/ {{ object.lead_image }}" alt="{{ object.title }}" /> {% endif %} {{ object.body|codestrings|safe|linebreaks }}<br /> {% get_free_comment_count for blog.Post object.id as comment_count %} <div class="article_menu note" style="padding-top:10px;"> <b>Posted on {{ object.pub_date|date:"F j, Y" }}</b> - <a href="{{ object.get_absolute_url }}#comments">{{ comment_count }} Comment{{ comment_count|pluralize }}</a><br />Tags: {% for tag in object.tags.all %}{% if not forloop.first %}, {% endif %}<a href="/ blog/tag/{{ tag }}">{{ tag }}</a>{% endfor %} </div> {% get_free_comment_list for blog.Post object.id as comment_list %} <h2 id="comments">Comments</h2> {{ object.id }} {% for comment in comment_list %} <div class="comment_{% cycle odd,even %}" id="c{{ comment.id }}"> <span class="comnum"><a id="c{{ comment.id }}" href="#c{{ comment.id }}">#{{ forloop.counter }}</a></span> <p><b>{{ comment.person_name|escape }}</b> commented, on {{ comment.submit_date|date:"F j, Y" }} at {{ comment.submit_date| date:"P" }}:</p> {{ comment.comment|escape|urlizetrunc:40|linebreaks }} </div> {% endfor %} <h2>Post a comment</h2> {% free_comment_form for blog.post object.id %} </div> <div style="width:150px; float:right;"> <h2 style="margin-bottom: 5px;">Latest 10 posts:</h2> <ul style="font-size:14px;padding-left:20px;"> {% for object in latest_10 %} <li><a href="{{ object.get_absolute_url }}/blog/{{ object.pub_date| date:"Y" }}/{{ object.pub_date|date:"M"|lower }}/{{ object.pub_date| date:"d" }}/{{ object.slug }}">{{ object.title }}</a></li> {% endfor %} </ul> <a href="http://joshuajonah.com/blog" title="go to the blog homepage">More...</a> </div> <div style="clear:both;"></div> {% endblock %} --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---