blob: 354ebf68732de2ff6f3b151e802f404e98810e1c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{% extends "journal/base.html" %}
{% load comments %}
{% block otherhead %}{{ block.super}}
<link rel="alternate" type="application/rss+xml" title="RSS" href="/journal/rss/latest_microentries/">
{% endblock %}
{% block path %}{{block.super}}
»<a href="/journal/microentries/"> microentries</a>{% endblock %}
{% block title %}Journal Microentries{% endblock %}
{% block content %}
<br />
<div class="notice">
This page has an <a href="/journal/rss/latest_microentries/">RSS feed</a>.
</div>
{% if object_list %}
{% for item in object_list %}
<b>{{item.date|date:"D, d/m/Y @H:i"}}:
{% 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 }}">link</a>)
</p>
{% endfor %}
{% else %}
<p>No microentries have been entered yet!</p>
{% endif %}
{% if is_paginated %} {% if has_previous %}
<a href="./?page={{ previous }}">« previous</a> |
{% endif %} {% if has_next %}
<a href="./?page={{ next }}">next »</a>
{% endif %} {% endif %}
{% endblock %}
|