Welcome to mirror list, hosted at ThFree Co, Russian Federation.

application.html.erb « layouts « views « app - github.com/git/git-scm.com.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8c6fb5958e5fc46f3b08d04f7b41f8acfcd86ae7 (plain)
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
<!DOCTYPE html>
<html lang="en">

<head>
  <!-- Global site tag (gtag.js) - Google Analytics -->
  <script async src="https://www.googletagmanager.com/gtag/js?id=UA-49925874-3"></script>
  <script>
    window.dataLayer = window.dataLayer || [];
    function gtag(){dataLayer.push(arguments);}
    gtag('js', new Date());

    gtag('config', 'UA-49925874-3');
  </script>

  <meta charset='utf-8'>
  <meta content='IE=edge,chrome=1' http-equiv='X-UA-Compatible'>

  <title><%= @page_title.present? ? @page_title : "Git" %></title>

  <link href='/favicon.ico' rel='shortcut icon' type='image/x-icon'>

  <%= stylesheet_link_tag "application" %>
  <%= javascript_include_tag "modernize" %>
  <!--[if (gte IE 6)&(lte IE 8)]>
  <%= javascript_include_tag "/javascripts/selectivizr-min.js" %>
  <![endif]-->

</head>

<body id="<%= @section %>">

  <div class="inner">
    <%= render partial: "shared/header" %>
  </div> <!-- .inner -->

  <% if controller_name == "site" && action_name == "index" %>
    <%= render partial: "shared/masthead" %>
    <div id="content-wrapper">
      <div class="inner">
        <%= yield %>
        <%= render partial: "shared/footer" %>
      </div> <!-- .inner -->
    </div> <!-- #content-wrapper -->
  <% else %>
    <div class="inner">
      <div id="content-wrapper">
        <%= render partial: "shared/sidebar" %>
        <div id="content">
          <%= yield %>
        </div>
      </div>
      <%= render partial: "shared/footer" %>
    </div>
  <% end %>

</body>
</html>