geminispace.info

gemini search engine
git clone https://git.clttr.info/geminispace.info.git
Log (Feed) | Files | Refs (Tags) | README | LICENSE

commit 47fe755f7452739e724301189d0244f4c8755049
parent 24167257f42d88aefd90de3f45962c1d6cc99e65
Author: Natalie Pendragon <natpen@natpen.net>
Date:   Wed, 11 Nov 2020 07:17:25 -0500

[serve] Add statistics_overall_historical template

Diffstat:
Aserve/templates/statistics_historical_overall.gmi | 14++++++++++++++
1 file changed, 14 insertions(+), 0 deletions(-)

diff --git a/serve/templates/statistics_historical_overall.gmi b/serve/templates/statistics_historical_overall.gmi @@ -0,0 +1,14 @@ +{% include 'fragments/header.gmi' %} + + +## Historical Statistics - Overall + +``` +Date | Page Count | Domain Count +-----------|------------|------------- +{% for entry in statistics_historical_overall %} +{{ "{} | {:>10} | {:>12}".format(entry["date"]|datetimeformat, entry["page_count"], entry["domain_count"]) }} +{% endfor %} +``` + +{% include 'fragments/footer.gmi' %}