real
This commit is contained in:
parent
31ade00b3e
commit
4328168834
|
@ -26,16 +26,18 @@
|
||||||
<br><br><br><br><br><br>
|
<br><br><br><br><br><br>
|
||||||
|
|
||||||
{% for post in posts %}
|
{% for post in posts %}
|
||||||
<div class="post">
|
<div class="post">
|
||||||
<p class="username">{{ getUser(post["creator"])["username"] }}</p>
|
<p class="username">{{ getUser(post["creator"])["username"] }}</p>
|
||||||
<p class="date">{{ post["created"] }}</p>
|
<p class="date">{{ post["created"] }}</p>
|
||||||
{% if userdata.administrator == 1 %}
|
{% if userdata %}
|
||||||
<a class="date" href='/remove/{{post["id"]}}'>Remove post</a>
|
{% if userdata.administrator == 1 %}
|
||||||
<br><br>
|
<a class="date" href='/remove/{{post["id"]}}'>Remove post</a>
|
||||||
{% endif %}
|
<br><br>
|
||||||
<img loading="lazy" src='{{ post["imageurl"] }}'>
|
{% endif %}
|
||||||
<p class="text">{{ post["textstr"] }}</p>
|
{% endif %}
|
||||||
</div>
|
<img loading="lazy" src='{{ post["imageurl"] }}'>
|
||||||
|
<p class="text">{{ post["textstr"] }}</p>
|
||||||
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
Reference in New Issue