]> git.datanom.net - flask-test.git/blobdiff - app/templates/index.html
First half
[flask-test.git] / app / templates / index.html
diff --git a/app/templates/index.html b/app/templates/index.html
new file mode 100644 (file)
index 0000000..80a6eb3
--- /dev/null
@@ -0,0 +1,8 @@
+{% extends "base.html" %}
+{% block content %}
+    <h1>Hi, {{ user.nickname }}!</h1>
+    {% for post in posts %}
+    <div><p>{{ post.author.nickname }} says: <b>{{ post.body }}</b></p></div>
+    {% endfor %}
+{% endblock %}
+
This page took 0.031082 seconds and 5 git commands to generate.