mirror of
https://github.com/wezm/wezm.net.git
synced 2024-12-23 20:49:56 +00:00
31 lines
1.1 KiB
HTML
31 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=600" />
|
|
<title><%= @item[:title] %></title>
|
|
<link rel="stylesheet" href="/css/reset.css" type="text/css" media="screen,projection" />
|
|
<link rel="stylesheet" href="/css/style.css" type="text/css" media="screen,projection" />
|
|
<link rel="stylesheet" href="/css/mobile.css" type="text/css" media="only screen and (max-device-width: 480px)" />
|
|
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js" type="text/javascript"></script>
|
|
<script src="/js/articles.js" type="text/javascript" charset="utf-8"></script>
|
|
</head>
|
|
<body class="articles">
|
|
<%= render 'header' %>
|
|
<div id="content">
|
|
<h1><%= @item[:title] %></h1>
|
|
<ul class="articles">
|
|
<% sorted_articles[0..9].each do |article| %>
|
|
<%= render 'article', :article => article %>
|
|
<% end %>
|
|
</ul>
|
|
|
|
<div class="pagination">
|
|
<a href="/articles/#page-0" class="older">« Older</a>
|
|
|
|
|
<a href="/articles/#page-2" class="newer">Newer »</a>
|
|
</div>
|
|
</div>
|
|
<%= render 'footer' %>
|
|
</body>
|
|
</html>
|