app/views/kinney/people/index.html.erb in kinney-0.0.1 vs app/views/kinney/people/index.html.erb in kinney-0.0.2
- old
+ new
@@ -10,16 +10,17 @@
<div class='row' id="people_with_images">
<div class="span12">
<ul class="thumbnails sortable_thumbs">
<% @people_with_images.each do |person| %>
- <li class="span2 sortable_thumb">
- <%= link_to(person, :class => :thumbnail) do %>
+ <li class="span2 sortable_thumb" itemscope itemtype="http://schema.org/Person">
+ <%= link_to(person, :class => :thumbnail, :itemprop => :url) do %>
<div class="block">
<%= kinney_image_small(person.image, person) %>
<div class="caption">
<div class="clearfix">
- <%= person.nickname %> <span class="last_name"><%= person.last_name %></span><%= ', ' + person.name_suffix if !person.name_suffix.blank? %>
+ <span itemprop="name"><%= person.nickname %> <span class="last_name"><%= person.last_name %></span><%= ', ' + person.name_suffix if !person.name_suffix.blank? %>
+ </span>
<div>
<span class="grad_class"><%= person.graduating_class %></span>
</div>
<% if person.clips.size > 0 %>
<div class="available_video">