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

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

<% end %>

<%= site.title %> <% if site.supporter? %> <% end %>

<%= site.host %>

<%= site.views.format_large_number %> views
<% follows_count = site.follows_dataset.count %>
<%= follows_count.format_large_number %> follower<% follows_count == 0 ? '' : 's' %>
<% if current_site == site %> Edit Site <% end %> <% if current_site && current_site != site %> <% is_following = current_site.is_following?(site) %> Unfollow Following <% end %> '> Share
<% if current_site && site.profile_comments_enabled %>
disabled<% end %> >
<% unless current_site.commenting_allowed? %>

To prevent spam, you cannot comment until you have updated your site <%= Site::COMMENTING_ALLOWED_UPDATED_COUNT %> times (on <%= Site::COMMENTING_ALLOWED_UPDATED_COUNT %> separate days), and your account is one week old. While waiting, now is a great time to start building your awesome site!

<% end %>
<% end %> <% if @latest_events.empty? %>

No recent activity.

<% if current_site && site.owned_by?(parent_site) %>

You should update your site!

<% end %>
<%== erb :'_news', layout: false, locals: {site: @site, events: @latest_events} %> <% 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.format_large_number %>
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 %>