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