summaryrefslogtreecommitdiff
path: root/website/templates/404.html
diff options
context:
space:
mode:
authorMo Bitar <76752051+mo8it@users.noreply.github.com>2025-05-23 13:26:52 +0200
committerGitHub <noreply@github.com>2025-05-23 13:26:52 +0200
commit2267f996844475f45a96d9582e0ac0d40b4bce79 (patch)
tree94d0634e928e553ba1071fa405b787efb586e84d /website/templates/404.html
parente36dd7a1207ccf940ba820abc276fa465f45b531 (diff)
parentbf74a3d0a7ae3c0d12ba572fe1c2f1d711c6e530 (diff)
Merge pull request #2247 from rust-lang/website
Website
Diffstat (limited to 'website/templates/404.html')
-rw-r--r--website/templates/404.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/website/templates/404.html b/website/templates/404.html
new file mode 100644
index 0000000..eb9d469
--- /dev/null
+++ b/website/templates/404.html
@@ -0,0 +1,14 @@
+{% extends "base.html" %}
+
+{% block content %}
+ <div class="flex flex-col mx-auto text-center">
+ <h1>DON'T PANIC!</h1>
+ <h2>404: Page not found!</h2>
+
+ <img class="mx-auto max-h-[50vh]"
+ src="{{ get_url(path='images/panic.svg') | safe }}"
+ alt="">
+
+ <a class="text-2xl font-bold" href="{{ get_url(path='@/_index.md') }}">Back to homepage</a>
+ </div>
+{% endblock %}