diff options
| author | XhmikosR <[email protected]> | 2019-02-27 19:28:09 +0200 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2019-03-13 19:22:59 +0200 |
| commit | 913f290e3d0ff41b84165b4fb33d7e75102cb7a2 (patch) | |
| tree | 45704d3a3c25e9bdf17f3e8ce9233008d2d609cf | |
| parent | 46e88fb8f397442c5f657a6431839b16ff272e1b (diff) | |
| download | bootstrap-913f290e3d0ff41b84165b4fb33d7e75102cb7a2.tar.xz bootstrap-913f290e3d0ff41b84165b4fb33d7e75102cb7a2.zip | |
Fix 404 layout.
| -rw-r--r-- | site/content/404.md | 1 | ||||
| -rw-r--r-- | site/layouts/_default/404.html | 18 |
2 files changed, 19 insertions, 0 deletions
diff --git a/site/content/404.md b/site/content/404.md index cf3249020..de003f149 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 000000000..80234d434 --- /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> |
