diff options
Diffstat (limited to 'bn_django')
-rw-r--r-- | bn_django/journal/templates/journal/microentry_list.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bn_django/journal/templates/journal/microentry_list.html b/bn_django/journal/templates/journal/microentry_list.html index 54e63e5..354ebf6 100644 --- a/bn_django/journal/templates/journal/microentry_list.html +++ b/bn_django/journal/templates/journal/microentry_list.html @@ -19,12 +19,12 @@ This page has an <a href="/journal/rss/latest_microentries/">RSS feed</a>. {% if object_list %} {% for item in object_list %} <b>{{item.date|date:"D, d/m/Y @H:i"}}: - <a href="{{ item.get_absolute_url }}"> - {% if item.title %}{{item.title}}{%else%}[Untitled]{%endif%}</a></b> + {% if item.title %} + <a href="{{ item.get_absolute_url }}"> {{item.title}}</a>{%endif%}</b> <p style="padding-left:30px"> {{ item.html_content|truncatewords_html:256 }} {% get_comment_count for item as comment_count %} - (<a href="{{ item.get_absolute_url }}#commentary">{{ comment_count }} comments</a>) + (<a href="{{ item.get_absolute_url }}#commentary">{{ comment_count }} comments</a>, <a href="{{ item.get_absolute_url }}">link</a>) </p> {% endfor %} {% else %} |