mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
use total follow count for home and stats page
This commit is contained in:
parent
ee94e4e540
commit
880f70477b
2 changed files with 4 additions and 2 deletions
|
@ -98,8 +98,9 @@
|
|||
<% end %>
|
||||
</div>
|
||||
<div class="col col-50">
|
||||
<% follow_count = site.follows.count %>
|
||||
<div><strong><%= site.views.format_large_number %></strong> views</div>
|
||||
<div><strong><%= site.follow_count.format_large_number %></strong> follower<%= site.follow_count == 1 ? '' : 's' %></div>
|
||||
<div><strong><%= follow_count.format_large_number %></strong> follower<%= follow_count == 1 ? '' : 's' %></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -258,8 +258,9 @@
|
|||
<% end %>
|
||||
</div>
|
||||
<div class="col col-50">
|
||||
<% follow_count = site.follows.count %>
|
||||
<div><strong><%= site.views.format_large_number %></strong> views</div>
|
||||
<div><strong><%= site.follow_count.format_large_number %></strong> follower<%= site.follow_count == 1 ? '' : 's' %></div>
|
||||
<div><strong><%= follow_count.format_large_number %></strong> follower<%= follow_count == 1 ? '' : 's' %></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue