12345678910111213141516171819202122232425262728 |
- {% extends "/html/base.html" %}
- {% block content %}
- <div id="post">
- {% for post in posts %}
- <div class="post-header">
- <h2>{{post.title}}</h2>
- <div id="post-meta">
- {% if post.author %}
- <div class="author">{{post.author}}</div>
- {% endif %}
- <div class="date">{{post.date|date:longDate}}</div>
- </div>
- </div>
- {{post.content|safe}}
- <a href="{{post.uri}}">Continue reading →</a>
- <hr>
- {% endfor %}
- <div id="prev-next">
- {% if prev-uri %}
- <a class="left" href="{{prev-uri}}">« Prev</a>
- {% endif %}
- {% if next-uri %}
- <a class="right" href="{{next-uri}}">Next »</a>
- {% endif %}
- </div>
- </div>
- {% endblock %}
|