diff --git a/web/app.py b/web/app.py index e102d46..1ae1329 100644 --- a/web/app.py +++ b/web/app.py @@ -599,7 +599,22 @@ def create_app(): @app.route('/') def home_page(): #content = Markup('Index') - return render_template('index.html') #, markup_content = content) + l_news = News.query.order_by(News.time.desc()).first() + content = ''' +
+''' + l_news.subject + '''+ |
+
''' + l_news.date + ''' | +
''' + l_news.text + ''' |
+
+
Welcome to the {{ user_manager.USER_APP_NAME }}. This tool is used to manage your access.
+ ++
+Latest News:+{{news}} + |
+
{% endblock %}