From 913f290e3d0ff41b84165b4fb33d7e75102cb7a2 Mon Sep 17 00:00:00 2001
From: XhmikosR <xhmikosr@gmail.com>
Date: Wed, 27 Feb 2019 19:28:09 +0200
Subject: [PATCH] Fix 404 layout.

---
 site/content/404.md            |  1 +
 site/layouts/_default/404.html | 18 ++++++++++++++++++
 2 files changed, 19 insertions(+)
 create mode 100644 site/layouts/_default/404.html

diff --git a/site/content/404.md b/site/content/404.md
index cf32490206..de003f1490 100644
--- a/site/content/404.md
+++ b/site/content/404.md
@@ -1,5 +1,6 @@
 ---
 title: "404 - File not found"
+layout: 404
 description: ""
 url: /404.html
 robots: noindex,follow
diff --git a/site/layouts/_default/404.html b/site/layouts/_default/404.html
new file mode 100644
index 0000000000..80234d4349
--- /dev/null
+++ b/site/layouts/_default/404.html
@@ -0,0 +1,18 @@
+<!doctype html>
+<html lang="en">
+  <head>
+    {{ partial "header" . }}
+  </head>
+  <body>
+    {{ partial "skippy" . }}
+
+    {{ partial "docs-navbar" . }}
+
+    <main class="bd-content p-5" id="content" role="main">
+      {{ .Content }}
+    </main>
+
+    {{ partial "footer" . }}
+    {{ partial "scripts" . }}
+  </body>
+</html>
-- 
GitLab