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:
authorConnor Shea <connor.james.shea@gmail.com>2016-11-09 22:44:58 +0300
committerConnor Shea <connor.james.shea@gmail.com>2016-11-09 22:44:58 +0300
commit314b98db5bc3aaba4aa99e5ff78c765a260f2360 (patch)
tree66f1686a723fa4bf99eb028a4757e95397b4f823 /layouts/404.html
parent4e1f399eb8415fcdbade8577bc37bcfe15a561d4 (diff)
Split the header into a partial for reusability.
Diffstat (limited to 'layouts/404.html')
-rw-r--r--layouts/404.html13
1 files changed, 1 insertions, 12 deletions
diff --git a/layouts/404.html b/layouts/404.html
index 16810cc3..63d8d6b7 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -2,18 +2,7 @@
<html lang="en">
<%= render '/head.*' %>
<body>
- <div class="header">
- <a href="/">
- <img src="<%= @items['/assets/images/gitlab-logo.svg'].path %>"/>
- <p>GitLab Documentation</p>
- </a>
- <ul>
- <li><input type="text" class="st-default-search-input" placeholder="Search"></li>
- <li><a href="<%= @items['/ce/README.*'].path %>">Community Edition</a></li>
- <li><a href="<%= @items['/ee/README.*'].path %>">Enterprise Edition</a></li>
- <li><a href="<%= @items['/omnibus/README.*'].path %>">Omnibus</a></li>
- </ul>
- </div>
+ <%= render '/header.*' %>
<div class="main class">
<%= yield %>
</div>