<html>
<head>
  <title>Sam Ruby: <%= @title or controller.action_name %></title>
  <link rel="shortcut icon" href="/favicon.ico"/>
  <link rel="openid.server" href="http://127.0.0.1:3000/openid/server/">
  <%= stylesheet_link_tag 'weblog' %>
  <%= javascript_include_tag 'comment_form' %>
</head>
<body id="intertwingly-net" onload="initCommentForm(document.getElementById('comments_form'))">

<div class="banner">
  <h1><%= link_to "Intertwingly", {:action=>"posts", :path=>nil}, {:class=>"banner-anchor"} %></h1>
  <p>It's just data</p>
</div>

<div class="content">
<% if flash[:notice] -%>
<p style="color: green"><%= flash[:notice] %></p>
<% end -%>

<%= @content_for_layout %>

<% if @entry_pages and @entry_pages.current.next %>
<div class="blogbody">
<%= link_to 'More...', { :page => @entry_pages.current.next } %> 
</div>
<% end %>
</div>

<%= render :partial=>"sidebar" %>

</body>
</html>
