mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-11-15 09:21:25 +00:00
34 lines
1 KiB
Text
34 lines
1 KiB
Text
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<title><%= full_title(yield(:title)) %></title>
|
|
<meta charset="utf-8">
|
|
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
<%= favicon_link_tag 'shared/favicon.ico' %>
|
|
<%= theme_stylesheet_link_tag %>
|
|
<%= javascript_include_tag 'application' %>
|
|
<%= csrf_meta_tag %>
|
|
</head>
|
|
<body>
|
|
<div id="container">
|
|
<%= render partial: "messages" %>
|
|
<%= render partial: "header" %>
|
|
<%= render partial: "navigation" %>
|
|
<div class="body wrapper">
|
|
<div id="content" class="<%= yield :main_class %>">
|
|
<div id="main">
|
|
<%= yield %>
|
|
</div>
|
|
<div id="sidebar">
|
|
<%= yield :sidebar %>
|
|
<% ['calendar', 'shoutbox', 'posts', 'poll'].each do |widget| %>
|
|
<%= render partial: "widgets/#{widget}" %>
|
|
<% end %>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<%= render partial: "footer" %>
|
|
</div>
|
|
</body>
|
|
</html>
|