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

default.html « layouts - gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f43c1213171f5cdaf5841733e2a276acbc6986be (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
58
59
60
61
62
<!DOCTYPE HTML>
<html lang="en">
  <%= render '/head.*' %>
  <body>
    <%= render '/header.*' %>
    <div class=wrapper>
      <div class="main class">
        <% if @config[:breadcrumbs] %>
          <% ancestor_array = ancestor_path_array(@item) unless ancestor_path_array(@item).empty? %>
          <% if ancestor_array %>
            <ul class="breadcrumbs">
              <% ancestor_array.reverse_each do |item| %>
                <li class="breadcrumb"><%= link_to item.key?(:title) ? "#{item[:title]}" : "Breadcrumb", item %></li>
              <% end %>
              <li class="breadcrumb"><%= @item.key?(:title) ? "#{@item[:title]}" : "Current page" %></li>
            </ul>
          <% end %>
        <% end %>
        <div id="doc-nav" class="doc-nav">
        </div>
        <% if @item[:title] %>
          <h1 class="article-title">
            <%= @item[:title] %>
          </h1>
        <% end %>
        <% if @item[:author] %>
          <div class="article-metadata">
            Article written by <a href="https://gitlab.com/<%= @item[:author_gitlab] %>" target="_blank"><%= @item[:author] %></a>
            on <%= @item[:date] %>
            &#8226;
            <% if @item[:last_updated] %>
            Last updated: <%= @item[:last_updated] %>
            &#8226;
            <% end %>
            Type: <%= @item[:article_type] %>
            &#8226;
            Level: <%= @item[:level] %>
          </div>
        <% end %>
        <div class="article-content js-article-content">
          <%= yield %>
        </div>
        <div class="edit-on">
          <%= edit_on_gitlab(@item) %>
        </div>
        <% if @item[:last_updated] %>
          <hr>
          <p class="last-updated">
            <em>Last updated <%= @item[:last_updated] %></em>
          </p>
        <% end %>
        <%= render '/disqus.*' %>
      </div>
      <div class="clear"></div>
    </div>

    <%= render '/footer.*' %>
    <%= render '/docsearch.*' %>
    <%= render '/analytics.*' %>
    <%= render '/https_redirect.*' %>
  </body>
</html>