Adds a 404 page. (#38)
This commit is contained in:
parent
3118e4c11c
commit
40b2747acd
1 changed files with 23 additions and 0 deletions
23
pinaxcon/templates/404.html
Normal file
23
pinaxcon/templates/404.html
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
{% extends "site_base_wagtail.html" %}
|
||||||
|
{% load staticfiles %}
|
||||||
|
{% load wagtailcore_tags %}
|
||||||
|
|
||||||
|
{% load sitetree %}
|
||||||
|
{% load i18n %}
|
||||||
|
|
||||||
|
{% block body_class %}template-blogpage{% endblock %}
|
||||||
|
|
||||||
|
{% block head_title %}{{ page.title }}{% endblock %}
|
||||||
|
|
||||||
|
{% block body %}
|
||||||
|
{% block content %}
|
||||||
|
{% include "cms_pages/content_page_header_panel.html" %}
|
||||||
|
<div class="l-content-page">
|
||||||
|
<div class="l-content-page--richtext">
|
||||||
|
<h2>Ooops</h2>
|
||||||
|
|
||||||
|
<p>The page you're looking for doesn't exist. Sorry!</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endblock %}
|
||||||
|
{% endblock %}
|
Loading…
Reference in a new issue