error-pages/templates
2024-06-29 00:49:59 +04:00
..
app-down.html wip: 🔕 temporary commit 2024-06-28 19:28:35 +04:00
cats.html wip: 🔕 temporary commit 2024-06-28 19:28:35 +04:00
connection.html wip: 🔕 temporary commit 2024-06-28 19:28:35 +04:00
embed_test.go wip: 🔕 temporary commit 2024-06-22 03:32:10 +04:00
embed.go wip: 🔕 temporary commit 2024-06-26 01:06:02 +04:00
ghost.html wip: 🔕 temporary commit 2024-06-29 00:49:59 +04:00
hacker-terminal.html wip: 🔕 temporary commit 2024-06-28 19:28:35 +04:00
l7.html wip: 🔕 temporary commit 2024-06-28 19:28:35 +04:00
lost-in-space.html wip: 🔕 temporary commit 2024-06-28 19:28:35 +04:00
noise.html wip: 🔕 temporary commit 2024-06-28 19:28:35 +04:00
orient.html wip: 🔕 temporary commit 2024-06-28 19:28:35 +04:00
readme.md wip: 🔕 temporary commit 2024-06-29 00:49:59 +04:00
shuffle.html wip: 🔕 temporary commit 2024-06-28 19:28:35 +04:00

Templates

Creating templates is a straightforward process, even for those unfamiliar with Go Template. Here are a few things to keep in mind:

  • The template should be a single page, without additional css or js files. However, you can load them from a CDN or other GitHub repositories using jsdelivr.com
  • Be sure to include the <meta name="robots" content="nofollow,noarchive,noindex"> tag in the header
  • You can use special "placeholders" (wrapped in {{ and }}) for the rendering error code, message, and other details

Built-in "placeholders" and functions with their examples can be found in the following files: