summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorHui Lan <lanhui@zjnu.edu.cn>2020-08-13 18:24:50 +0800
committerHui Lan <lanhui@zjnu.edu.cn>2020-08-13 18:24:50 +0800
commit76f930f36827487f5a957b18d924f7d5cfba94e6 (patch)
treef3ad53d9df3c8befcb926b316d950c5e668d0b04 /app
parent4765d9fcb9dffa8294711fa2d1943d4397cfe9be (diff)
README.md: add a link for getting next article.
Diffstat (limited to 'app')
-rw-r--r--app/main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/main.py b/app/main.py
index 412d106..29363e5 100644
--- a/app/main.py
+++ b/app/main.py
@@ -286,6 +286,7 @@ def userpage(username):
elif request.method == 'GET': # when we load a html page
page = '<meta charset="UTF8">'
page += '<p><b>English Pal for <font color="red">%s</font></b> <a href="/logout">登出</a></p>' % (username)
+ page += '<p><a href="/%s">下一篇</a></p>' % (username)
page += '<p><b>阅读文章并回答问题</b></p>\n'
page += '%s' % (get_today_article(user_freq_record))
page += '<p><b>收集生词吧</b></p>'