mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
Merge commit '35dec7c96f7ee3eb17dd444f7067f0c776fb56ae'
This commit is contained in:
@@ -3,7 +3,7 @@ title: Custom 404 page
|
||||
linkTitle: 404 page
|
||||
description: If you know how to create a single page template, you have unlimited options for creating a custom 404.
|
||||
categories: [templates]
|
||||
keywords: [404, page not found]
|
||||
keywords: ['404',page not found]
|
||||
menu:
|
||||
docs:
|
||||
parent: templates
|
||||
@@ -26,7 +26,7 @@ In addition to the standard page variables, the 404 page has access to all site
|
||||
|
||||
This is a basic example of a 404.html template:
|
||||
|
||||
{{< code file="layouts/404.html" >}}
|
||||
{{< code file=layouts/404.html >}}
|
||||
{{ define "main" }}
|
||||
<main id="main">
|
||||
<div>
|
||||
|
Reference in New Issue
Block a user