summaryrefslogtreecommitdiff
path: root/blog/templates
diff options
context:
space:
mode:
Diffstat (limited to 'blog/templates')
-rw-r--r--blog/templates/blog/post_list.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/blog/templates/blog/post_list.html b/blog/templates/blog/post_list.html
new file mode 100644
index 0000000..acd4ced
--- /dev/null
+++ b/blog/templates/blog/post_list.html
@@ -0,0 +1,18 @@
+<html>
+ <head>
+ <title>Django Girls blog</title>
+ </head>
+ <body>
+ <div>
+ <h1><a href="/">Django Girls Blog</a></h1>
+ </div>
+
+ {% for post in posts %}
+ <div>
+ <p>published: {{ post.published_date }}</p>
+ <h1><a href="">{{ post.title }}</a></h1>
+ <p>{{ post.text|linebreaksbr }}</p>
+ </div>
+ {% endfor %}
+ </body>
+</html> \ No newline at end of file