templates/404.html (852B)
1 {#- 호스트가 이름으로 찾는 404. 페이지에 매이지 않은 템플릿이라 page.title 은
2 "404" 로 고정이고 번역도 자식도 없다 — 여기서 쓸 수 있는 건 t() 와 site 뿐이다.
3
4 길 잃은 사람에게 필요한 건 사과가 아니라 나가는 길이다. 그래서 갈래 링크를 준다. #}
5 {% extends "base.html" %}
6
7 {% block content %}
8 <div class="wrap wrap-read">
9 <header class="page-head">
10 <p class="eyebrow">404</p>
11 <h1 class="page-title">{{ t("not_found_title") }}</h1>
12 <p class="page-lede">{{ t("not_found_body") }}</p>
13 </header>
14
15 <div class="fence" aria-hidden="true">+++</div>
16
17 <nav class="btn-row" aria-label="{{ t("menu") }}">
18 {%- for s in site.sections %}
19 <a class="btn btn-ghost" href="{{ s.url }}">{{ s.title }}</a>
20 {%- endfor %}
21 </nav>
22 </div>
23 {% endblock %}