<!DOCTYPE html> <html lang=“en”> <head>
<title>DisOrder <% if @title %>| <%= @title %><% end %></title> <meta charset="UTF-8"> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <% if @jsBlock %> <% @jsBlock.each do |js| %> <script src="<%= js %>"></script> <% end %> <% end %> <link href="<%= config("baseurl") %>static/css/styles.css" media="screen" rel="stylesheet" type="text/css" /> <% if @cssBlock %><link href="<%= config("baseurl") + @cssBlock %>" media="screen" rel="stylesheet" type="text/css" /><% end %>
</head>
<body>
<div class="wrapper"> <header> <h1><a href="<%= baseURL() %>">DisOrder</a></h1> <a href="/about">About</a> </header> <div id="content"> <%= @contentBlock %> </div> <footer>©<%= Time.now.year %> • Powerd by <a href="http://www.ruby-lang.org/en/">Ruby</a> and <a href="http://disorder-cms.org">DisOrder</a></footer> </div>
</body> </html>