aboutsummaryrefslogtreecommitdiffstats
path: root/templates/home.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/home.html7
1 files changed, 7 insertions, 0 deletions
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) %}
+ <div class="panel"
+ style="color: #e9cdcf; background-color: #b52f6a; z-index: -1; font-size: 2em; width: fit-content;">
+ {{ visit_count }}{{ locale.text("visits").unwrap() }}</div>
+ {% when None %}
+ {% endmatch %}
</aside>