summaryrefslogtreecommitdiff
path: root/templates/404.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/404.html')
-rw-r--r--templates/404.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/404.html b/templates/404.html
new file mode 100644
index 0000000..408e222
--- /dev/null
+++ b/templates/404.html
@@ -0,0 +1,17 @@
+{% extends "base.html" %}
+
+{% block title %}404 | {{ config.title }}{% endblock title %}
+{% block description %}ページが見つかりませんでした。{% endblock description %}
+
+{% block content %}
+<section class="site-container error-page" aria-labelledby="error-title">
+ <p class="error-code">404</p>
+ <h1 id="error-title">ページが見つかりません。</h1>
+ <p>URLが変更されたか、ページが存在しない可能性があります。</p>
+ <nav aria-label="エラーページからの移動">
+ <a href="{{ get_url(path='@/_index.md') }}">Home</a>
+ <a href="{{ get_url(path='@/notes/_index.md') }}">Notes</a>
+ <a href="{{ get_url(path='@/software/_index.md') }}">Software</a>
+ </nav>
+</section>
+{% endblock content %}