From cb2b30b379a288ed6a909ae20da966d763144544 Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Mon, 3 Dec 2018 18:49:12 -0500 Subject: [PATCH] Show stats on About page if public_stats enabled Previously, it would only show the stats if federation was enabled. --- pages/about.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/about.tmpl b/pages/about.tmpl index 64c2500..3328397 100644 --- a/pages/about.tmpl +++ b/pages/about.tmpl @@ -7,7 +7,7 @@ {{.Content}} - {{if .Federation}} + {{if .PublicStats}}

{{.SiteName}} is home to {{largeNumFmt .AboutStats.NumPosts}} {{pluralize "article" "articles" .AboutStats.NumPosts}} across {{largeNumFmt .AboutStats.NumBlogs}} {{pluralize "blog" "blogs" .AboutStats.NumBlogs}}.

{{end}}