2009-11-22 06:11:43 +00:00
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
|
|
|
<title><%= @item[:title] %></title>
|
|
|
|
<link rel="stylesheet" href="/css/reset.css" type="text/css" media="screen,projector" />
|
|
|
|
<link rel="stylesheet" href="/css/style.css" type="text/css" media="screen,projector" />
|
|
|
|
<script src="/js/script.js" type="text/javascript"></script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<%= render 'header' %>
|
|
|
|
<div id="main">
|
2009-11-22 06:21:36 +00:00
|
|
|
<% sorted_articles[0..9].each do |article| %>
|
|
|
|
<h1><%= article.attributes[:title] %></h1>
|
2009-11-22 06:11:43 +00:00
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
<%= render 'footer' %>
|
|
|
|
</body>
|
|
|
|
</html>
|