mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 20:14:58 +00:00
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.
This commit is contained in:
1 parent
0a90dc1224
commit
b220793447
1 file changed
-13
@@ -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).
|
||||
|
||||
Reference in new issue
Block a user