diff --git a/templates/view.html b/templates/view.html
deleted file mode 100644
index bcd79c1..0000000
--- a/templates/view.html
+++ /dev/null
@@ -1,109 +0,0 @@
-
-
-
-
-
-
- 漫画详情页
-
-
-
-
- {% for i in index %}
-
- {% endfor %}
-
-
已经到底了哦
-
-
-
-
-
-
\ No newline at end of file
diff --git a/templates/view.html.j2 b/templates/view.html.j2
new file mode 100644
index 0000000..d0bf4ab
--- /dev/null
+++ b/templates/view.html.j2
@@ -0,0 +1,181 @@
+
+
+
+
+
+
+ 漫画详情页
+
+
+
+
+
+
+
+
+
+
+
diff --git a/web/page.py b/web/page.py
index 2b3fe17..f3ecf60 100644
--- a/web/page.py
+++ b/web/page.py
@@ -77,7 +77,7 @@ def view(bookid): # 接口
data = db.file.searchByid(bookid)
if len(data) == 0:
return abort(404)
- return render_template("view.html", id=bookid, index=range(1, data[0][3]))
+ return render_template("view.html.j2", id=bookid, index=range(1, data[0][3]))
@page_bp.route("/upload", methods=["GET", "POST"]) # 文件上传