wezm.net/layouts/articles.html

25 lines
636 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<%= render 'head_common' %>
<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">
<%= yield %>
</ul>
<div class="pagination">
<a href="#page-0" class="older">&laquo; Older</a>
|
<a href="#page-2" class="newer">Newer &raquo;</a>
</div>
</div>
<%= render 'footer' %>
</body>
</html>