Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

Commit

Permalink
Added noscript table for accessibility improvement and SEO benefits.
Browse files Browse the repository at this point in the history
  • Loading branch information
palewire committed Feb 5, 2012
1 parent da1370f commit ef0beff
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion templates/timeline-markup.erb
Expand Up @@ -4,4 +4,28 @@
<%= self.to_json %>,
<%= self.config_json %>
);
</script>
</script>
<noscript>
<table>
<thead>
<tr>
<th>date</th>
<th>series</th>
<th>description</th>
<th>link</th>
<th>html</th>
</tr>
</thead>
<tbody>
<% for @event in @events %>
<tr>
<td><%= @event[:date] %></td>
<td><%= @event[:series] %></td>
<td><%= @event[:description] %></td>
<td><%= @event[:link] %></td>
<td><%= @event[:html] %></td>
</tr>
<% end %>
</tbody>
</table>
</noscript>

0 comments on commit ef0beff

Please sign in to comment.