mirror of
https://github.com/matrix-org/matrix.org.git
synced 2026-01-11 20:07:22 +00:00
Add 404 template
This commit is contained in:
parent
5369c3bf7e
commit
177ecd5d45
2 changed files with 10 additions and 0 deletions
8
templates/404.html
Normal file
8
templates/404.html
Normal 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 %}
|
||||
|
|
@ -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 %}">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue