% c++ #include "content.h" %>
<% skin view %>
<% view toc uses content::toc extends master %>
<% template title() %><% gt "Index of Articles" %><% end %>
<% template main() %>
<% foreach row in table %>
<% item %>
<% foreach cell in row %>
<% item %>
<% if not empty cell.title %>
<%= cell.title %>
<% else %>
| |
<% end %>
<% end item %>
<% end %>
<% end item %>
<% end foreach %>
<% end template %>
<% end view %>
<% view recent_changes uses content::recent_changes extends master %>
<% template title() %><% gt "Recent Changes" %><% end %>
<% template main() %>
<% foreach c in content %>
<% if not empty next %><% gt "Next Page" %>
<% end %>
<% empty %>
<% gt "No more changes" %>
<% end %>
<% end template %>
<% end view %>
<% end skin %>