forked from heroku/12factor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
layout.erb
47 lines (40 loc) · 1.89 KB
/
layout.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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>The Twelve-Factor App <%= I18n.t(:translation) %></title>
<meta name="description" content="A methodology for building modern, scalable, maintainable software-as-a-service apps.">
<meta name="author" content="Adam Wiggins">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="images/favicon.ico">
<link rel="stylesheet" href="/css/screen.css" media="screen">
<link rel="stylesheet" href="/css/mobile.css" media="screen">
<script type="text/javascript" src="//use.typekit.com/rsq7tro.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
</head>
<body>
<% if ENV['GOOGLE_TAG_MANAGER_ACCOUNT'] %>
<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=<%= ENV['GOOGLE_TAG_MANAGER_ACCOUNT'] %>"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','<%= ENV['GOOGLE_TAG_MANAGER_ACCOUNT'] %>');</script>
<!-- End Google Tag Manager -->
<% end %>
<header>
<h1><a href="./" title="The Twelve-Factor App">The Twelve-Factor App</a></h1>
</header>
<%= yield %>
<footer>
<div id="locales"><%= render_locales(@factor) %></div>
<div>Written by Adam Wiggins</div>
<div>Last updated Jan 30, 2012</div>
<div><a href="https://github.com/heroku/12factor">Sourcecode</a></div>
<div><a href="/12factor.epub">Download ePub Book</a></div>
<div><a href="https://www.heroku.com/policy/privacy">Privacy Policy</a></div>
</footer>
</body>
</html>