mirror of
https://github.com/neocities/neocities.git
synced 2025-08-04 16:51:36 +02:00
updates to stats
This commit is contained in:
parent
453e762f8c
commit
6452442f42
2 changed files with 9 additions and 10 deletions
|
@ -47,6 +47,8 @@ get '/site/:username/stats' do
|
|||
@site = Site[username: params[:username]]
|
||||
not_found if @site.nil?
|
||||
|
||||
@title = "Site stats for #{@site.host}"
|
||||
|
||||
@stats = {}
|
||||
|
||||
%i{referrers locations paths}.each do |stat|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue