diff --git a/project-a/articleapp/templates/index.html b/project-a/articleapp/templates/index.html new file mode 100644 index 0000000..9b1698e --- /dev/null +++ b/project-a/articleapp/templates/index.html @@ -0,0 +1,17 @@ + + + + + 文章列表 + + +

文章

+ {% for art in articles %} +
+

{{art.title}}

+

{{art.content}}

+

{{art.create_time}}

+
+ {% endfor %} + +