Add 404 template

This commit is contained in:
Jonas Platte 2022-10-07 11:43:18 +02:00
parent 5369c3bf7e
commit 177ecd5d45
2 changed files with 10 additions and 0 deletions

8
templates/404.html Normal file
View file

@ -0,0 +1,8 @@
{% extends "skel.html" %}
{% block html_title %}Matrix.org - Not Found{% endblock html_title %}
{% block content %}
<div class="content">
<h1>Not Found</h1>
<p>This page doesn't exist.</p>
</div>
{% endblock content %}

View file

@ -4,6 +4,8 @@
{% set path = section.path %}
{% elif taxonomy %}
{% set path = current_path %}
{% else %}
{% set path = "" %}
{% endif %}
<header class="site-header">
<a href="/" class="brand{% if path == '/' %} current{% endif %}">