seperate comments

This commit is contained in:
m
2026-03-14 19:55:27 +01:00
parent 2fb2e4f3d1
commit 885e2e8cea
3 changed files with 62 additions and 62 deletions

View File

@@ -0,0 +1,22 @@
{% macro render_comment(comments) %} {% for comment in comments %}
<div class="media">
<a class="pull-left" href="#">
<img
class="media-object"
src="https://ui-avatars.com/api/?name={{ comment.author }}&background=random"
width="64"
height="64"
alt=""
/>
</a>
<div class="media-body">
<h4 class="media-heading">
{{ comment.author }}
<small>{{ comment.date }}</small>
</h4>
{{ comment.content }}
</div>
</div>
{% else %}
<p>No comments yet. Be the first!</p>
{% endfor %} {% endmacro %}