By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

 post.html

View raw Download
text/html • 1.16 kiB
HTML document, ASCII text
        
            
1
<dl>
2
<dt>
3
<article class="card">
4
<section class="card-main">
5
{% if post.parent and not level %}
6
<a href="{{ parent.parent.number }}">
7
<x-hbox class="box-center">
8
<iconify-icon icon="mdi:arrow-left"></iconify-icon>
9
{{ post.parent.subject }}
10
</x-hbox>
11
</a>
12
{% endif %}
13
{% if level %}
14
<h2><a href="{{ post.number }}">{{ post.subject }}</a></h2>
15
{% else %}
16
<h2>{{ post.subject }}</h2>
17
{% endif %}
18
<p><a href="/{{ post.owner.username }}">{{ post.owner.username }}</a> &bull; {{ post.date | strftime("%A, %e %B %Y, %H:%M:%S") }}</p>
19
<p>
20
{{ post.message }}
21
</p>
22
</section>
23
</article>
24
</dt>
25
{% set level = level + 1 %}
26
{% if post.children %}
27
{% for post in Post.query.filter_by(repo=repoData, parent=parent) %}
28
<dd>{% include "post.html" %}</dd>
29
{% endfor %}
30
{% endif %}
31
</dl>