on master help sign in
Add 404 template
42798b8Matilde Park
templates/404.html+20−22
@@ -1,25 +1,23 @@
1{% extends "base.html" %}
1{% extends "base.html" %}
2−
2+{% block bodyclasses %}class="bg-black"{% endblock bodyclasses %}
3{% block content %}
3{% block content %}
4−<div>
4+<nav class="mt6">
5− <div>
5+ <a class="gray3" href="/">Urbit</a>
6− <div>
6+ <span class="gray3"> / </span>
7− <h1>Error 404</h1>
7+ <a class="white" href="/404">
8− <p>Sorry, but the page you requested doesn't exist.</p>
8+ 404
9− <ul>
9+ </a>
10− {% for item in config.extra.urbit_menu %}
10+ <button id="js-search-window-toggle" class="mt6 mb6" type="button" style="outline:none">
11− <li>
11+ <span id="search-icon" class="f3 gray3">⚲</span><span class="ml3 gray3">Search</span></span>
12− <h2>
12+ </button>
13− <a href="{{ item.url | replace(from="$BASE_URL", to=config.base_url) }}">
13+ </nav>
14− {{ item.name }}
14+<main class="fourth-2">
15− </a>
15+ <h1 class="white fixed fw-thin"
16− </h2>
16+ style="font-size: 6rem;
17− </li>
17+ top: 50%;
18− {% endfor %}
18+ left: 50%;
19− </ul>
19+ transform: translate(-50%, -50%);">
20− <!-- footer -->
20+ 404
21− {% include "partials/footer.html" %}
21+</h1>
22− </div>
22+</main>
23− </div>
24−</div>
25{% endblock content %}
23{% endblock content %}