This commit is contained in:
Rich committed 2021-07-03 08:17:46 +01:00
1 parent f88a6a9f81
commit 582fca2e90
7 files changed
+64 -21

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
<html>
<head>
{% if title %}
<title>{{ title }} - Microblog</title>
{% else %}
<title>Welcome to Microblog</title>
{% endif %}
</head>
<body>
<h1>Hi, {{ user.username }}!</h1>
{% for post in posts %}
<div>
<p>{{ post.author.username }} says: <b>{{ post.body }}</b></p>
</div>
{% endfor %}
</body>
</html>