<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”> <html xmlns=“www.w3.org/1999/xhtml”>
<head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title><%== @title ? @title : Thoth::Config.site['name'] %></title> <%= Thoth::MainController.render_view(:css) %> <link rel="alternate" type="application/atom+xml" href="<%= Thoth::MainController.r(:atom) %>" title="Posts (Atom)" /> <link rel="alternate" type="application/rss+xml" href="<%= Thoth::MainController.r(:rss) %>" title="Posts (RSS)" /> <% if @feeds; @feeds.each do |feed| %> <link rel="alternate" type="<%== feed[:type] %>" href="<%== feed[:href] %>" title="<%== feed[:title] %>" /> <% end; end %> <link rel="home" href="<%== Thoth::Config.site['url'] %>" /> <% if @pager %> <% if @pager.prev_url %> <link id="prev_url" rel="prev" href="<%== @pager.prev_url %>" /> <% end %> <% if @pager.next_url %> <link id="next_url" rel="next" href="<%== @pager.next_url %>" /> <% end %> <% end %> </head> <body> <div id="doc"> <%= Thoth::MainController.render_view(:header) %> <div id="bd"> <%= Thoth::MainController.render_view(:sidebar) %> <div id="main"> <%= flashbox('<div class="flash %key">%value</div>') %> <%= @content %> </div> </div> <%= Thoth::MainController.render_view(:footer) %> </div> <%= Thoth::MainController.render_view(:js) %> </body>
</html>