clarion/lib/initfest/views/layouts/public/application.html.erb

29 lines
996 B
Plaintext
Raw Normal View History

2015-08-15 04:33:02 +03:00
<!DOCTYPE html>
<html>
<head>
<title>
2015-08-15 07:00:55 +03:00
<% if content_for?(:title) and current_conference? %>
<%= yield :title %> | <%= current_conference.try :title %>
<% elsif !content_for?(:title) and current_conference? %>
<%= current_conference.try :title %>
<% else %>
<%= yield :title %>
2015-08-15 04:33:02 +03:00
<% end %>
</title>
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0">
2024-04-14 00:31:52 +03:00
<%= stylesheet_link_tag "initfest/application", media: "all", nopush: false %>
<%= javascript_include_tag "initfest/application", nopush: false %>
2015-08-15 04:33:02 +03:00
<%= csrf_meta_tags %>
</head>
<body>
<%= render 'public/shared/nav' %>
<section class="content">
<%= render 'public/shared/flash_messages' unless flash.empty? %>
<%= yield %>
</section>
2015-08-15 07:08:47 +03:00
<footer class="clear">
<div id="copyright">© 2014-<%= Date.today.year %> OpenFest. Some Rights Reserved.</div>
2015-08-15 07:08:47 +03:00
</footer>
2015-08-15 04:33:02 +03:00
</body>
</html>