Added about page.

This commit is contained in:
2025-07-29 18:51:29 +02:00
parent 6611999b5f
commit 6b2004cb27
4 changed files with 117 additions and 7 deletions

View File

@@ -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...")