28 lines
797 B
HTML
28 lines
797 B
HTML
{% extends "/html/base.html" %}
|
|
{% block content %}
|
|
<div id="post">
|
|
{% for post in posts %}
|
|
<div class="post-header">
|
|
<a href="{{post.uri}}"><h1>{{post.title}}</h1></a>
|
|
<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 %}
|