From 36dd5483fb8efb6db4488bbaca5f6ac855f8ffea Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Mon, 20 Feb 2023 17:57:24 -0800 Subject: [PATCH] Clarify placement of 404 template --- content/en/templates/404.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/templates/404.md b/content/en/templates/404.md index 81c4c38bdb..f0d2ecd9a4 100644 --- a/content/en/templates/404.md +++ b/content/en/templates/404.md @@ -16,7 +16,7 @@ aliases: [] toc: false --- -When using Hugo with [GitHub Pages](https://pages.github.com/), you can provide your own template for a [custom 404 error page](https://docs.github.com/en/pages/getting-started-with-github-pages/creating-a-custom-404-page-for-your-github-pages-site) by creating a 404.html template file in your `/layouts` folder. When Hugo generates your site, the `404.html` file will be placed in the root. +When using Hugo with [GitHub Pages](https://pages.github.com/), you can provide your own template for a [custom 404 error page](https://docs.github.com/en/pages/getting-started-with-github-pages/creating-a-custom-404-page-for-your-github-pages-site) by creating a 404.html template file in the root of your `layouts` folder. When Hugo generates your site, the `404.html` file will be placed in the root. 404 pages will have all the regular [page variables][pagevars] available to use in the templates.