<% if flash.keys.length > 0 %>

<% flash.keys.each do |key| %> <%= flash[key] %> <% end %>

<% end %>

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

<%= site.host %>

<%= 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 && site.profile_comments_enabled %>
<% end %> <% if @latest_events.empty? %>

No recent activity.

<% if @site == current_site %>

You should update your site!

<%== erb :'_news', layout: false, locals: {site: @site, events: @latest_events} %> <% 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 %>
Report | <% if current_site && current_site.is_blocking?(site) %> Unblock <% else %> Block <% end %>
<% end %>