From b2207934472677792a59582194d8e1ae10c9442a Mon Sep 17 00:00:00 2001 From: TokiNoKawa <56490448+juggernautjp@users.noreply.github.com> Date: Mon, 19 Dec 2022 09:12:52 +0900 Subject: [PATCH] Delete duplicates the lines 557-569 and 570-582. (#1934) `## 404 Server Error Page" is duplicated between lines 557-569 and 570-582. So, lines 570-582 should be deleted. --- content/en/getting-started/configuration.md | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/content/en/getting-started/configuration.md b/content/en/getting-started/configuration.md index 186d29f2b..5eafa7056 100644 --- a/content/en/getting-started/configuration.md +++ b/content/en/getting-started/configuration.md @@ -567,19 +567,6 @@ Hugo will, by default, render all 404 errors when running `hugo server` with the status = 404 ``` -## 404 Server Error Page - -{{< new-in "0.103.0" >}} - -Hugo will, by default, render all 404 errors when running `hugo server` with the `404.html` template. Note that if you have already added one or more redirects to your [Server Config](#server-config), you need to add the 404 redirect explicitly, e.g: - -```toml -[[redirects]] - from = "/**" - to = "/404.html" - status = 404 -``` - ## Configure Title Case Set `titleCaseStyle` to specify the title style used by the [title](/functions/title/) template function and the automatic section titles in Hugo. It defaults to [AP Stylebook](https://www.apstylebook.com/) for title casing, but you can also set it to `Chicago` or `Go` (every word starts with a capital letter).