mirror of
https://github.com/writefreely/writefreely
synced 2024-11-10 11:24:13 +00:00
Show stats on About page if public_stats enabled
Previously, it would only show the stats if federation was enabled.
This commit is contained in:
parent
8cbc02d7cf
commit
cb2b30b379
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
{{.Content}}
|
||||
|
||||
{{if .Federation}}
|
||||
{{if .PublicStats}}
|
||||
<hr style="margin:1.5em 0;" />
|
||||
<p><em>{{.SiteName}}</em> is home to <strong>{{largeNumFmt .AboutStats.NumPosts}}</strong> {{pluralize "article" "articles" .AboutStats.NumPosts}} across <strong>{{largeNumFmt .AboutStats.NumBlogs}}</strong> {{pluralize "blog" "blogs" .AboutStats.NumBlogs}}.</p>
|
||||
{{end}}
|
||||
|
|
Loading…
Reference in a new issue