better page title

master
Aevann 2023-11-25 21:47:38 +02:00
parent a11c7172c0
commit 23274536cd
3 changed files with 3 additions and 3 deletions

View File

@ -137,7 +137,7 @@ def sidebar(v):
def participation_stats(v):
stats = cache.get('stats') or {}
if v.client: return stats
return render_template("stats.html", v=v, title="Content Statistics", data=stats)
return render_template("stats.html", v=v, title="Statistics", data=stats)
@app.get("/chart")
@limiter.limit(DEFAULT_RATELIMIT, deduct_when=lambda response: response.status_code < 400)

View File

@ -117,7 +117,7 @@
<h4>Statistics</h4>
<ul>
<li><a href="/stats">Content Stats</a></li>
<li><a href="/stats">Statistics</a></li>
<li><a href="/weekly_chart">Weekly Stat Chart</a></li>
<li><a href="/daily_chart">Daily Stat Chart</a></li>
</ul>

View File

@ -1,5 +1,5 @@
{% extends "default.html" %}
{% block pagetitle %}Content Statistics{% endblock %}
{% block pagetitle %}Statistics{% endblock %}
{% block content %}
<div class="overflow-x-auto mt-1">
<table class="table table-striped mb-5">