From 11a258e2152afd82f12c35a38b335d83553b2813 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Mon, 22 Feb 2021 14:42:43 -0500 Subject: [PATCH] grpc-docsy: move custom 404 page to submodule (#670) This is a first contribution to #669 --- layouts/404.html | 45 --------------------------------------------- themes/docsy | 2 +- 2 files changed, 1 insertion(+), 46 deletions(-) delete mode 100644 layouts/404.html diff --git a/layouts/404.html b/layouts/404.html deleted file mode 100644 index e748d8c..0000000 --- a/layouts/404.html +++ /dev/null @@ -1,45 +0,0 @@ -{{/* This file is in place as an override to Docsy */}} - -{{ define "title" -}} -404 Page not found – {{ site.Title -}} -{{ end }} - -{{ define "main" -}} -{{ $newIssuePath := "issues/new?title=Unexpected%20page-not-found%20error&body=URL%3A%20%0AExpected%20page%3A%20" -}} -{{ $newIssueUrl := printf "%s/%s" site.Params.repo $newIssuePath -}} - -
-
-
-

- Page not found -

-

- 404 -

-
-
-
- -
-
-
-

- The page that you requested doesn't exist. -

-

- Check the URL's spelling. -

-

- If you think that the page should exist, - create an issue. -

-

- - Homepage - -

-
-
-
-{{ end }} diff --git a/themes/docsy b/themes/docsy index f7fec42..0071e1a 160000 --- a/themes/docsy +++ b/themes/docsy @@ -1 +1 @@ -Subproject commit f7fec423e5f91275d5ad2aa4bb34086e2fd94d51 +Subproject commit 0071e1ac112641e09776ec870ac5d10c975b5a7f