Source

leafstorm.us / layouts / _default.html

---
{}
---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
  <head>
    <title>LeafStorm :: <%= @item[:title] %></title>
    <link rel="stylesheet" type="text/css" href="/style.css" media="screen">
  </head>
  <body>
    <div id="main">
<%= yield %>
    </div>
    <div id="sidebar">
      <h1>LeafStorm</h1>
      <% @config[:navbars].each do |nav| %>
      <h2><%= nav[:name] %></h2>
      <ul><% nav[:items].each do |item| %>
        <li><a href="<%= item[1] %>"><%= item[0] %></a></li>
      <% end %></ul>
      <% end %>
    </div>
  </body>
</html>