From 0644a094bf0a9ef3a11661a32f339010bcf17c55 Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Fri, 2 Jan 2026 01:23:45 +0100 Subject: add visits counter to home --- templates/home.html | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'templates/home.html') diff --git a/templates/home.html b/templates/home.html index 95e614c..ba6615f 100644 --- a/templates/home.html +++ b/templates/home.html @@ -50,6 +50,13 @@ {% include "latestposts.html" %} {% include "random-poem.html" %} + {% match visits %} + {% when Some(visit_count) %} +
+ {{ visit_count }}{{ locale.text("visits").unwrap() }}
+ {% when None %} + {% endmatch %} -- cgit