From b4cf3c58c6dbd6150303f160fbd1dc934458ba07 Mon Sep 17 00:00:00 2001 From: Georgios Kalpakas Date: Fri, 28 Apr 2017 13:50:20 +0300 Subject: [PATCH] fix(aio): do not create ToC for `file-not-found` and `fetching-error` documents Related to #16078. --- aio/content/file-not-found.md | 4 ++-- aio/src/app/documents/document.service.ts | 17 ++++++++++------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/aio/content/file-not-found.md b/aio/content/file-not-found.md index c03967cd31e5c4..cdd57442d411a2 100644 --- a/aio/content/file-not-found.md +++ b/aio/content/file-not-found.md @@ -3,7 +3,7 @@
-

Page Not Found

+

Page Not Found

We're sorry. The page you are looking for cannot be found.

-
\ No newline at end of file + diff --git a/aio/src/app/documents/document.service.ts b/aio/src/app/documents/document.service.ts index 34e81cd151ebd7..7cd3a6be5993a2 100644 --- a/aio/src/app/documents/document.service.ts +++ b/aio/src/app/documents/document.service.ts @@ -19,13 +19,16 @@ export const FETCHING_ERROR_ID = 'fetching-error'; const CONTENT_URL_PREFIX = 'content/docs/'; const FETCHING_ERROR_CONTENTS = ` -
-
error_outline
-
-

Request for document failed.

-

We are unable to retrieve the "" page at this time. -Please check your connection and try again later.

-
+
+
error_outline
+
+

Request for document failed.

+

+ We are unable to retrieve the "" page at this time. + Please check your connection and try again later. +

+
+
`; @Injectable()