We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e929ee3 commit a6d4b24Copy full SHA for a6d4b24
1 file changed
src/README.md
@@ -20,6 +20,10 @@ The placeholders used are:
20
- `/**ERROR_JS**/`: Any JavaScript code to be included in the error page. Inserted from `js`.
21
- `/**ERROR_CSS**/`: Any CSS styles to be included in the error page . Inserted from `css`.
22
23
+For `error` layout pages, an additional placeholder is used:
24
+
25
+- `/**ERROR_CODE**/`: The error code for the error page (e.g., 404, 500). Replaced with the filename part of the content file.
26
27
The templating use multiple layouts, which are defined in the `layouts` folder.
28
Each content file in the `contents` folder should be prefixed with the layout name, followed by an underscore.
29
For example, a content file named `error_404.html` will use the `error` layout, and produce a page named `404.html`.
0 commit comments