mirror of
https://github.com/rmontanana/microblog.git
synced 2025-08-18 16:55:51 +00:00
Chapter 4
This commit is contained in:
8
app/templates/index.html
Normal file
8
app/templates/index.html
Normal file
@@ -0,0 +1,8 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h1>Hi, {{ user.username }}!</h1>
|
||||
{% for post in posts %}
|
||||
<div><p>{{ post.author.username }} says: <b>{{ post.body }}</b></p></div>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
Reference in New Issue
Block a user