This repository has been archived by the owner on Mar 22, 2022. It is now read-only.
/
application.html.erb
78 lines (70 loc) · 2.68 KB
/
application.html.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><%= content_for?(:title) ? yield(:title) : "Vim Tips" %></title>
<%= csrf_meta_tags %>
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
<![endif]-->
<%= stylesheet_link_tag "application", :media => "all" %>
<%= auto_discovery_link_tag :atom, "/feed" %>
<%= auto_discovery_link_tag :rss, "/feed.rss" %>
<link href="assets/favicon.ico" rel="shortcut icon">
<link href="images/apple-touch-icon.png" rel="apple-touch-icon">
<link href="images/apple-touch-icon-72x72.png" rel="apple-touch-icon" sizes="72x72">
<link href="images/apple-touch-icon-114x114.png" rel="apple-touch-icon" sizes="114x114">
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="btn btn-navbar" data-target=".nav-collapse" data-toggle="collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="/">Vim Tips</a>
<div class="container-fluid nav-collapse">
<ul class="nav">
<li><%= link_to "All Tips", '/tips' %></li>
<li><%= link_to "Post A Tip", '/post' %></li>
<li><%= link_to "Plugin", "/plugin" %></li>
<li><%= link_to "Subscribe", "/feed" %></li>
<!--
<li><%= link_to "About", "/about" %></li>
-->
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
</div>
<div class="container-fluid">
<div class="row-fluid">
<div class="span6" id="container-center">
<% if !notice.nil? %>
<div class="alser alert-success">
<%= notice %>
</div>
<% end %>
<%= yield %>
</div>
</div><!--/row-->
<footer class="footer">
<p>
Made by <a href="http://github.com/yesmeck">Meck</a>.
Hosted by <a href="http://www.linode.com/?r=6234ef5192de321f27b0d7b18ba02f8166af27df">Linode</a>.
</p>
</footer>
</div> <!-- /container -->
<!-- Javascripts
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<%= javascript_include_tag "application" %>
<% if Rails.env.production? %>
<%= render 'layouts/analytics' %>
<% end %>
</body>
</html>