diff options
| author | Yuval Adam <_@yuv.al> | 2018-06-03 16:03:11 +0300 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2018-06-03 16:03:11 +0300 |
| commit | c7e6f0fda8b17841e7be5da44766e366c90f1ccd (patch) | |
| tree | 461d81a349898e29c252fa56e71c0c4f60692f5a /blog/templates | |
| parent | d285da4ebfb461633487901167f0097ea69766b0 (diff) | |
Diffstat (limited to 'blog/templates')
| -rw-r--r-- | blog/templates/blog/post_list.html | 18 |
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 |
