Create custom 404 page using base template

This commit is contained in:
George Lacey 2021-05-10 18:55:01 +01:00
parent df3d51e6ec
commit bb3d0485d4

View File

@ -0,0 +1,31 @@
{% extends "borg/base.html" %}
{% load static %}
{% block title %}Not Found{% endblock %}
{% block script %}
{% endblock %}
{% block style %}
html, body {
height: 80%;
}
body {
display: flex;
align-items: center;
background-color: aliceblue;
text-align: center;
}
{% endblock %}
{% block body %}
<div class="mx-auto w-25 px-5">
<div class="mx-5">
<h1 class="h1">Page not found!</h1>
</div>
</div>
{% endblock %}