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

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2022-10-12 20:12:41 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2022-10-12 20:12:41 +0300
commitcfc150d42316db8e0eec824b7108dc94dc31c7e8 (patch)
tree4c89cea09650c69eb94139091a0ddbfe6f5d164c /layouts
parent3c73fabb014880a53fa1dde32eda5f684532a18f (diff)
parenta409705ba7cd4077383ef8bb35cc1cd55b236deb (diff)
Merge branch 'sarahg/1237-archives-page' into 'main'
Refactor Archives page to use versions.json Closes #1171 and #1237 See merge request https://gitlab.com/gitlab-org/gitlab-docs/-/merge_requests/3124 Merged-by: Achilleas Pipinellis <axil@gitlab.com> Approved-by: David O'Regan <doregan@gitlab.com> Approved-by: Achilleas Pipinellis <axil@gitlab.com> Co-authored-by: Sarah German <sgerman@gitlab.com>
Diffstat (limited to 'layouts')
-rw-r--r--layouts/archives.html37
1 files changed, 0 insertions, 37 deletions
diff --git a/layouts/archives.html b/layouts/archives.html
deleted file mode 100644
index 530d3fa1..00000000
--- a/layouts/archives.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<!DOCTYPE HTML>
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" prefix="og: http://ogp.me/ns#">
-<head>
-<%= render '/head.*' %>
-</head>
-<body>
- <%= render '/gtm.*' %>
- <%= render '/header.*' %>
- <div id="js-banner"></div>
- <div class="gl-docs wrapper d-flex justify-content-center pt-5 mt-5">
- <div class="doc-nav"></div>
- <div class="main class pl-lg-4 js-main-wrapper">
- <div class="js-article-content">
- <%= yield %>
- </div>
- <% if @item[:last_updated] %>
- <hr>
- <p class="last-updated" style="padding-bottom: 24px;">
- <em>Last updated <%= @item[:last_updated] %></em>
- </p>
- <% end %>
- <%= render '/footer.*' %>
- </div>
- <div class="doc-nav"></div>
- </div>
- <script src="<%= @items['/frontend/shared/global_imports.*'].path %>"></script>
- <script src="<%= @items['/frontend/search/docsearch.*'].path %>"></script>
- <script src="<%= @items['/frontend/header/index.*'].path %>"></script>
- <script src="<%= @items['/frontend/shared/clipboardjs.*'].path %>"></script>
- <script type="application/javascript" src="<%= @items['/assets/javascripts/badges.*'].path %>"></script>
- <% if production? %>
- <%# Add analytics only in production %>
- <%= render '/analytics.*' %>
- <% end %>
- <%= render '/schema-microdata.*' %>
-</body>
-</html>