Create custom 404 page using base template
This commit is contained in:
parent
df3d51e6ec
commit
bb3d0485d4
31
borgweb/borg/templates/404.html
Normal file
31
borgweb/borg/templates/404.html
Normal 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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user