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

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/site
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2019-02-27 20:28:09 +0300
committerXhmikosR <xhmikosr@gmail.com>2019-03-13 20:22:59 +0300
commit913f290e3d0ff41b84165b4fb33d7e75102cb7a2 (patch)
tree45704d3a3c25e9bdf17f3e8ce9233008d2d609cf /site
parent46e88fb8f397442c5f657a6431839b16ff272e1b (diff)
Fix 404 layout.
Diffstat (limited to 'site')
-rw-r--r--site/content/404.md1
-rw-r--r--site/layouts/_default/404.html18
2 files changed, 19 insertions, 0 deletions
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>