<%= site.title %> <% if site.supporter? && !site.ended_supporter? %> <% end %>

http://<%= site.username %>.neocities.org

<%= site.hits_english %> hits
<%= site.follows_dataset.count %> followers
<% if current_site == site %> Edit Site <% end %> <% if current_site && current_site != site %> <% is_following = current_site.is_following?(site) %> <%= is_following ? 'Unfollow' : 'Follow' %> <% end %>
<% if current_site %>
<% end %> <% latest_events = site.latest_events %> <% if latest_events.empty? %>

No recent activity.

<% if site == current_site %>

You should update your site!

<% end %>
<% else %> <%== erb :'_news', layout: false, locals: {site: site, events: latest_events} %> <% end %>

Website Stats

Last updated <% if site.updated_at.nil? %> <%= site.created_at.ago.downcase %> <% else %> <%= site.updated_at.ago.downcase %> <% end %>
Number of updates<%= site.changed_count %>
Created<%= site.created_at.strftime('%B %-d, %Y') %>
<%== erb :'_follows', layout: false, locals: {site: site, is_current_site: site == current_site} %> <%== erb :'_tags', layout: false, locals: {site: site, is_current_site: site == current_site} %> <% if site != current_site %> <% end %>