Added about page.
This commit is contained in:
@@ -102,6 +102,13 @@ def deep_dive(symbol):
|
||||
return render_template("deep_dive.html", posts=posts, symbol=symbol)
|
||||
|
||||
|
||||
@app.route("/about")
|
||||
def about_page():
|
||||
"""Handler for the static About page."""
|
||||
# We need to pass these so the navbar knows which items to highlight
|
||||
return render_template("about.html", subreddit_name=None, view_type='daily')
|
||||
|
||||
|
||||
def start_dashboard():
|
||||
"""The main function called by the 'rstat-dashboard' command."""
|
||||
log.info("Starting Flask server...")
|
||||
|
Reference in New Issue
Block a user