docs/templates/404.html (574B)
1 {% extends "base.html" %}
2
3 {#- 호스트가 이름으로 찾는 파일이라 URL이 /404.html로 고정돼 있다. 어느 깊이의
4 경로에서 이 페이지가 뜰지 모르므로 안의 링크는 전부 루트 절대 경로여야 한다 —
5 site.sections가 주는 URL이 이미 그 형태다. #}
6 {% block heading %}{{ t("not_found_title") }}{% endblock %}
7
8 {% block content %}
9 <div class="prose">
10 <p>{{ t("not_found_body") }}</p>
11 <ul>
12 {%- for s in site.sections %}
13 <li><a href="{{ s.url }}">{{ s.title }}</a></li>
14 {%- endfor %}
15 </ul>
16 </div>
17 {% endblock %}