From d08d8a85940c8d7ae9516a439aa793dddda974fd Mon Sep 17 00:00:00 2001 From: Hui Lan Date: Sun, 1 Aug 2021 22:03:27 +0800 Subject: [PATCH] app/main.py: use a container for the front page. --- app/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/main.py b/app/main.py index 5f7cd5b..e86ebab 100644 --- a/app/main.py +++ b/app/main.py @@ -250,6 +250,7 @@ def mainpage(): ''' + page += '
' page += '

English Pal - Learn English smartly!

' if session.get('logged_in'): page += ' %s

\n' % (session['username'], session['username']) @@ -273,6 +274,7 @@ def mainpage(): page += '%s %d\n' % (youdao_link(x[0]), x[0], x[1]) page += ' ' + page += '
' page += '' return page