<% @title = "Stats" %>

<div class="stats">
  <h2 class="stat" data-icon="⟡">
    Total Gems
    <span class="stat__count"><%= number_with_delimiter @number_of_gems %></span>
  </h2>
  <h2 class="stat" data-icon="☺">
    Total Users
    <span class="stat__count"><%= number_with_delimiter @number_of_users %></span>
  </h2>
  <h2 class="stat" data-icon="⌄">
    Total Downloads
    <span class="stat__count"><%= number_with_delimiter @number_of_downloads %></span>
  </h2>
</div>

<h2 class="stats__graph__heading">All Time Most Downloaded</h2>

<% @most_downloaded.each do |gem| %>
  <div class="stats__graph__gem">
    <h3 class="stats__graph__gem__name"><%= gem.name %></h3>
    <div class="stats__graph__gem__meter-wrap">
      <div class="stats__graph__gem__meter" style="width: <%= stats_graph_meter(gem, @most_downloaded.first.downloads) %>%">
        <span class="stats__graph__gem__count"><%= gem.downloads %></span>
      </div>
    </div>
  </div>
<% end %>

<% @title = "Stats" %>

<div class="stats">
  <h2 class="stat" data-icon="⟡">
    Total Gems
    <span class="stat__count"><%= number_with_delimiter @number_of_gems %></span>
  </h2>
  <h2 class="stat" data-icon="☺">
    Total Users
    <span class="stat__count"><%= number_with_delimiter @number_of_users %></span>
  </h2>
  <h2 class="stat" data-icon="⌄">
    Total Downloads
    <span class="stat__count"><%= number_with_delimiter @number_of_downloads %></span>
  </h2>
</div>

<h2 class="stats__graph__heading">All Time Most Downloaded</h2>

<% @most_downloaded.each do |gem| %>
  <div class="stats__graph__gem">
    <h3 class="stats__graph__gem__name"><a class="gems__gem" href="<%= rubygem_path(gem) %>"><%= gem.name %></a></h3>
    <div class="stats__graph__gem__meter-wrap">
      <div class="stats__graph__gem__meter" style="width: <%= stats_graph_meter(gem, @most_downloaded.first.downloads) %>%">
        <span class="stats__graph__gem__count"><%= gem.downloads %></span>
      </div>
    </div>
  </div>
<% end %>

Add link to gem page in stats
Add link to gem page in stats
