This repository has been archived on 2024-08-27. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
redstoner.com/app/views/layouts/application.html.erb
2014-06-16 00:05:09 +02:00

21 lines
817 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html>
<head>
<title>Redstoner<%= yield(:site_title).present? ? " #{yield(:site_title)}" : "" %></title>
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no">
<%= stylesheet_link_tag "application", :media => "all" %>
<%= csrf_meta_tags %>
<%= favicon_link_tag "favicon.ico" %>
<%= javascript_include_tag "application" %>
<link type="application/atom+xml" rel="alternate" href="<%= blogposts_path(:atom) %>">
</head>
<body>
<%= render partial: "/layouts/head" %>
<div id="main-content" class="<%= yield(:main_class) %>">
<%= "<div class='flash alert'>#{alert}</div>".html_safe if alert %>
<%= "<div class='flash notice'>#{notice}</div>".html_safe if notice %>
<%= yield %>
</div>
<%= render partial: "/layouts/footer" %>
</body>
</html>