site/backend/app/templates/index.html

12 lines
225 B
HTML
Raw Normal View History

2024-08-01 09:07:49 +00:00
{% extends "base.html" %}
{% block content %}
2024-08-01 18:10:49 +00:00
<h1>Hello, {{ current_user.username }}!</h1>
2024-08-01 09:07:49 +00:00
{% for post in posts %}
<div><p>{{ post.author.username }} says: <b>{{ post.body }}</b></p></div>
{% endfor %}
{% endblock %}