bbcovert/theme.sample/posts.html

41 lines
1.1 KiB
HTML
Raw Normal View History

2024-06-22 14:50:40 +08:00
<html>
<head>
<title>Posts -- from {{ posts.from_topic }}</title>
</head>
<body>
<h1>Posts</h1>
<a href="{{ posts.from_url }}">from {{ posts.from_topic }}</a>
<ol>
{% for posts in posts.posts %}
<li>
<ul>
<li>
<h3>{{ posts.id }}</h3>
</li>
<li>
<h3>{{ posts.text | safe }}</h3>
</li>
<li>
Poster: {{ posts.postername }}
{% if posts.posterurl != "" %}
<a href="{{ posts.posterurl }}">主页</a>
{% endif %}
</li>
</ul>
</li>
{% endfor %}
{{ page.now }}/{{ page.count }} 页
<a href="{{ page.first_url }}">第一页</a>
{% if page.prev_url != "" %}
<a href="{{ page.prev_url }}">上一页</a>
{% endif %}
{% if page.next_url != "" %}
<a href="{{ page.next_url }}">下一页</a>
{% endif %}
<a href="{{ page.end_url }}">最后一页</a>
</ol>
</body>
</html>